Interface EventListener

All Known Implementing Classes:
AbstractOmniSearchHandler, ConsoleUtil, JcrObservationThrottle

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

    Modifier and Type
    Method
    Description
    void
    This method is called when a bundle of events is dispatched.
  • Method Details

    • onEvent

      void onEvent(EventIterator events)
      This method is called when a bundle of events is dispatched.
      Parameters:
      events - The event set received.