Interface InternalEventListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Collection<org.apache.jackrabbit.spi.EventFilter> getEventFilters()
      Returns a collection of event filters which is in use by this event listener.
      void onEvent​(org.apache.jackrabbit.spi.EventBundle eventBundle)
      Gets called when an event occurs.
    • Method Detail

      • onEvent

        void onEvent​(org.apache.jackrabbit.spi.EventBundle eventBundle)
        Gets called when an event occurs.
        Parameters:
        eventBundle - the event set received.
      • getEventFilters

        Collection<org.apache.jackrabbit.spi.EventFilter> getEventFilters()
        Returns a collection of event filters which is in use by this event listener. The event bundles delivered to onEvent(org.apache.jackrabbit.spi.EventBundle) will be filtered using the collection returned by this method. An event is included in an event bundles if it is accepted by at least one of the filters returned by this method.
        Returns:
        an unmodifiable collection of EventFilters currently in use by this event listener.