public interface SynchronousEventListener
extends javax.jcr.observation.EventListener
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.Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.