Package org.hippoecm.repository.api
Interface SynchronousEventListener
- All Superinterfaces:
EventListener
A marker interface for synchronous event listener.
If a event listener implements this marker interface, the implementation
will decorate the listener with Jacrabbit's
org.apache.jackrabbit.core.observation.SynchronousEventListener
,
which is another marker interface in Jackrabbit for EventListener
implementations that wish a synchronous notification of changes to the
workspace. That is, a SynchronousEventListener
is called before
the call to Item.save()
returns. In contrast, a regular
EventListener
might be called after
save()
returns.
SynchronousEventListener
must not modify content with the thread that calls EventListener.onEvent(EventIterator)
otherwise inconsistencies may occur.-
Method Summary
Methods inherited from interface javax.jcr.observation.EventListener
onEvent