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 Detail

      • onEvent

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