jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3586) NonExternalObservationListener marker interface
Date Thu, 02 May 2013 09:44:16 GMT
Jukka Zitting created JCR-3586:
----------------------------------

             Summary: NonExternalObservationListener marker interface
                 Key: JCR-3586
                 URL: https://issues.apache.org/jira/browse/JCR-3586
             Project: Jackrabbit Content Repository
          Issue Type: New Feature
          Components: jackrabbit-api
            Reporter: Jukka Zitting
            Priority: Minor


It would be useful to have a marker interface like the following in the Jackrabbit API:

    interface NonExternalObservationListener extends ObservationListener { }

The observation dispatcher could then avoid delivering any external events to that listener.

For backwards compatibility such a listener should still use an "if (!event.isExternal())
{ ... }" wrapper for event processing. That way the listener can avoid processing external
events also when registered with an older repository that doesn't know about this marker interface.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message