|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.observation.DelegatingObservationDispatcher
public class DelegatingObservationDispatcher
This Class implements an observation dispatcher, that delegates events to a set of underlying dispatchers.
| Constructor Summary | |
|---|---|
DelegatingObservationDispatcher()
|
|
| Method Summary | |
|---|---|
void |
addDispatcher(ObservationDispatcher dispatcher)
Adds a new observation dispatcher to the set of dispatchers |
EventStateCollection |
createEventStateCollection(SessionImpl session,
Path pathPrefix)
Creates an EventStateCollection tied to the session
given as argument. |
void |
dispatch(java.util.List eventList,
SessionImpl session,
Path pathPrefix)
Dispatchers a list of events to all registered dispatchers. |
void |
removeDispatcher(ObservationDispatcher dispatcher)
Removes a observation dispatcher 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(ObservationDispatcher dispatcher)
dispatcher - observation dispatcherpublic void removeDispatcher(ObservationDispatcher dispatcher)
dispatcher - observation dispatcher
public EventStateCollection createEventStateCollection(SessionImpl session,
Path pathPrefix)
EventStateCollection tied to the session
given as argument.
session - event sourcepathPrefix - event path prefix
EventStateCollection instance
public void dispatch(java.util.List eventList,
SessionImpl session,
Path pathPrefix)
EventStateCollection is created for every dispatcher, fille with
the given event list and then dispatched.
eventList - list of eventssession - current sessionpathPrefix - event path prefix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||