Interface SynchronousEventListener

All Superinterfaces:
All Known Implementing Classes:
LockManagerImpl, 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 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

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