Package org.apache.sling.jcr.resource.internal

Examples of org.apache.sling.jcr.resource.internal.OakResourceListener


        final ObservationListenerSupport support = new ObservationListenerSupport(context.getBundleContext(), repository);
        boolean closeSupport = true;
        try {
            if ( isOak ) {
                try {
                    this.listener = new OakResourceListener(root, support, context.getBundleContext(), executor);
                    log.info("Detected Oak based repository. Using improved JCR Resource Listener");
                } catch ( final RepositoryException re ) {
                    throw re;
                } catch ( final Throwable t ) {
                    log.error("Unable to instantiate improved JCR Resource listener for Oak. Using fallback.", t);
View Full Code Here

TOP

Related Classes of org.apache.sling.jcr.resource.internal.OakResourceListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.