org.apache.jackrabbit.core.observation
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 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.

Important note: an implementation of 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
 



Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.