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 forEventListener
implementations that wish a synchronous notification of changes to the workspace. That is, aSynchronousEventListener
is called before the call toItem.save()
returns. In contrast, a regularEventListener
might be called aftersave()
returns.Important note: an implementation of
SynchronousEventListener
must 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
-
-