Package javax.jcr.observation
Interface EventListener
- All Known Implementing Classes:
AbstractOmniSearchHandler
,ConsoleUtil
,JcrObservationThrottle
public interface EventListener
An event listener.
An EventListener
can be registered via the
object. Event listeners are
notified asynchronously, and see events after they occur and the transaction
is committed. An event listener only sees events for which the session that
registered it has sufficient access rights.ObservationManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onEvent
(EventIterator events) This method is called when a bundle of events is dispatched.
-
Method Details
-
onEvent
This method is called when a bundle of events is dispatched.- Parameters:
events
- The event set received.
-