Interface SynchronousEventListener
-
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
AccessControlObserver,DefaultPrincipalProvider,EntryCollector,LockManagerImpl,MembershipCache,RetentionRegistryImpl,SearchManager
public interface SynchronousEventListener extends EventListener
Defines a marker interface forEventListenerimplementations that wish a synchronous notification of changes to the workspace. That is, aSynchronousEventListeneris called before the call toItem.save()returns. In contrast, a regularEventListenermight be called aftersave()returns.Important note: an implementation of
SynchronousEventListenermust not modify content with the thread that callsEventListener.onEvent(EventIterator)otherwise inconsistencies may occur.
-
-
Method Summary
-
Methods inherited from interface javax.jcr.observation.EventListener
onEvent
-
-