Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
It would be useful to have a marker interface like the following in the Jackrabbit API:
interface NonExternalEventListener extends EventListener { }
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.