Interface InternalEventListener
-
- All Known Implementing Classes:
HierarchyEventListener
,ObservationManagerImpl
public interface InternalEventListener
InternalEventListener
receives changes as a result of a local or an external modification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<EventFilter>
getEventFilters()
Returns a collection of event filters which is in use by this event listener.void
onEvent(EventBundle eventBundle)
Gets called when an event occurs.
-
-
-
Method Detail
-
onEvent
void onEvent(EventBundle eventBundle)
Gets called when an event occurs.- Parameters:
eventBundle
- the event set received.
-
getEventFilters
Collection<EventFilter> getEventFilters()
Returns a collection of event filters which is in use by this event listener. The event bundles delivered toonEvent(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
EventFilter
s currently in use by this event listener.
-
-