|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.observation.EventDispatcher org.apache.jackrabbit.core.observation.DelegatingObservationDispatcher
This Class implements an observation dispatcher, that delegates events to a set of underlying dispatchers.
Constructor Summary | |
DelegatingObservationDispatcher()
|
Method Summary | |
void |
addDispatcher(ObservationManagerFactory disp)
Adds a new observation factory to the set of dispatchers |
EventStateCollection |
createEventStateCollection(SessionImpl session,
Path pathPrefix)
Creates an EventStateCollection tied to the session
given as argument. |
void |
dispatch(List eventList,
SessionImpl session,
Path pathPrefix)
Dispatchers a list of events to all registered dispatchers. |
void |
removeDispatcher(ObservationManagerFactory disp)
Removes a observation factory from the set of dispatchers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DelegatingObservationDispatcher()
Method Detail |
public void addDispatcher(ObservationManagerFactory disp)
disp
- public void removeDispatcher(ObservationManagerFactory disp)
disp
- public EventStateCollection createEventStateCollection(SessionImpl session, Path pathPrefix)
EventStateCollection
tied to the session
given as argument.
session
- event source
EventStateCollection
instancepublic void dispatch(List eventList, SessionImpl session, Path pathPrefix)
EventStateCollection
is created for every dispatcher, fille with
the given event list and then dispatched.
eventList
- session
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |