Package org.apache.jackrabbit.commons.observation

Examples of org.apache.jackrabbit.commons.observation.ListenerTracker


        EventFilter filter = new EventFilter(ntMgr, eventTypes, oakPath(absPath), isDeep,
                uuid, validateNodeTypeNames(nodeTypeName), noLocal);
        ChangeProcessor processor = processors.get(listener);
        if (processor == null) {
            log.info(OBSERVATION, "Registering event listener {} with filter {}", listener, filter);
            ListenerTracker tracker = new ListenerTracker(
                    listener, eventTypes, absPath, isDeep,
                    uuid, nodeTypeName, noLocal) {
                @Override
                protected void warn(String message) {
                    log.warn(DEPRECATED, message, initStackTrace);
View Full Code Here


     * @param listener        an {@link EventListener} object.
     * @param filterProvider  filter provider specifying the filter for this listener
     */
    public void addEventListener(EventListener listener, FilterProvider filterProvider) {
        // FIXME Add support for FilterProvider in ListenerTracker
        ListenerTracker tracker = new ListenerTracker(
                listener, 0, null, true, null, null, false) {
            @Override
            protected void warn(String message) {
                LOG.warn(DEPRECATED, message, initStackTrace);
            }
View Full Code Here

                filterBuilder.path(isDeep ? STAR_STAR : STAR),
                filterBuilder.eventType(eventTypes),
                filterBuilder.uuid(Selectors.PARENT, uuids),
                filterBuilder.nodeType(Selectors.PARENT, validateNodeTypeNames(nodeTypeName))));

        ListenerTracker tracker = new ListenerTracker(
                listener, eventTypes, absPath, isDeep, uuids, nodeTypeName, noLocal) {
            @Override
            protected void warn(String message) {
                LOG.warn(DEPRECATED, message, initStackTrace);
            }
View Full Code Here

     * @param listener        an {@link EventListener} object.
     * @param filterProvider  filter provider specifying the filter for this listener
     */
    public void addEventListener(EventListener listener, FilterProvider filterProvider) {
        // FIXME Add support for FilterProvider in ListenerTracker
        ListenerTracker tracker = new ListenerTracker(
                listener, 0, null, true, null, null, false) {
            @Override
            protected void warn(String message) {
                LOG.warn(DEPRECATED, message, initStackTrace);
            }
View Full Code Here

                filterBuilder.path(isDeep ? STAR_STAR : STAR),
                filterBuilder.eventType(eventTypes),
                filterBuilder.uuid(Selectors.PARENT, uuids),
                filterBuilder.nodeType(Selectors.PARENT, validateNodeTypeNames(nodeTypeName))));

        ListenerTracker tracker = new ListenerTracker(
                listener, eventTypes, absPath, isDeep, uuids, nodeTypeName, noLocal) {
            @Override
            protected void warn(String message) {
                LOG.warn(DEPRECATED, message, initStackTrace);
            }
View Full Code Here

     * @param listener        an {@link EventListener} object.
     * @param filterProvider  filter provider specifying the filter for this listener
     */
    public void addEventListener(EventListener listener, FilterProvider filterProvider) {
        // FIXME Add support for FilterProvider in ListenerTracker
        ListenerTracker tracker = new ListenerTracker(
                listener, 0, null, true, null, null, false) {
            @Override
            protected void warn(String message) {
                LOG.warn(DEPRECATED, message, initStackTrace);
            }
View Full Code Here

                filterBuilder.path(isDeep ? STAR_STAR : STAR),
                filterBuilder.eventType(eventTypes),
                filterBuilder.uuid(Selectors.PARENT, uuids),
                filterBuilder.nodeType(Selectors.PARENT, validateNodeTypeNames(nodeTypeName))));

        ListenerTracker tracker = new ListenerTracker(
                listener, eventTypes, absPath, isDeep, uuids, nodeTypeName, noLocal) {
            @Override
            protected void warn(String message) {
                LOG.warn(DEPRECATED, message, initStackTrace);
            }
View Full Code Here

        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(
                    listener, eventTypes, absPath, isDeep,
                    uuid, nodeTypeName, noLocal) {
                @Override
                protected void warn(String message) {
                    log.warn(DEPRECATED, message, initStackTrace);
View Full Code Here

        EventFilter filter = new EventFilter(ntMgr, eventTypes, oakPath(absPath), isDeep,
                uuid, validateNodeTypeNames(nodeTypeName), !noLocal, includeExternal);
        ChangeProcessor processor = processors.get(listener);
        if (processor == null) {
            log.info(OBSERVATION, "Registering event listener {} with filter {}", listener, filter);
            ListenerTracker tracker = new ListenerTracker(
                    listener, eventTypes, absPath, isDeep,
                    uuid, nodeTypeName, noLocal) {
                @Override
                protected void warn(String message) {
                    log.warn(DEPRECATED, message, initStackTrace);
View Full Code Here

     * @param listener        an {@link EventListener} object.
     * @param filterProvider  filter provider specifying the filter for this listener
     */
    public void addEventListener(EventListener listener, FilterProvider filterProvider) {
        // FIXME Add support for FilterProvider in ListenerTracker
        ListenerTracker tracker = new WarningListenerTracker(
                true, listener, 0, null, true, null, null, false);
        addEventListener(listener, tracker, filterProvider);
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.commons.observation.ListenerTracker

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.