javax.jcr.observation
Interface EventListener


public interface EventListener

An event listener.

An EventListener can be registered via the ObservationManager 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.


Method Summary
 void onEvent(EventIterator events)
          This method is called when a bundle of events is dispatched.
 

Method Detail

onEvent

void onEvent(EventIterator events)
This method is called when a bundle of events is dispatched.

Parameters:
events - The event set received.


Copyright © 2009 Day Software. All Rights Reserved.