Examples of JcrFilterProvider


Examples of org.apache.jackrabbit.oak.plugins.observation.JcrFilterProvider

    @Override
    public synchronized void addEventListener(EventListener listener, int eventTypes, String absPath,
            boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal) throws RepositoryException {
        boolean includeExternal = !(listener instanceof ExcludeExternal);
        String oakPath = namePathMapper.getOakPath(absPath);
        FilterProvider filterProvider = new JcrFilterProvider(ntMgr, eventTypes, oakPath, isDeep,
                uuid, validateNodeTypeNames(nodeTypeName), !noLocal, includeExternal, permissionProvider);
        ChangeProcessor processor = processors.get(listener);
        if (processor == null) {
            log.info(OBSERVATION, "Registering event listener {} with filter {}", listener, filterProvider);
            ListenerTracker tracker = new ListenerTracker(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.