|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.observation.ObservationManagerImpl
public class ObservationManagerImpl
Each Session
instance has its own ObservationManager
instance. The class SessionLocalObservationManager
implements
this behaviour.
Constructor Summary | |
---|---|
ObservationManagerImpl(ObservationDispatcher dispatcher,
SessionImpl session,
ItemManager itemMgr)
Creates an ObservationManager instance. |
Method Summary | |
---|---|
void |
addEventListener(EventListener listener,
int eventTypes,
String absPath,
boolean isDeep,
String[] uuid,
String[] nodeTypeName,
boolean noLocal)
|
EventStateCollection |
createEventStateCollection()
Creates an EventStateCollection . |
void |
dispose()
Unregisters all EventListeners. |
EventListenerIterator |
getRegisteredEventListeners()
|
void |
removeEventListener(EventListener listener)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObservationManagerImpl(ObservationDispatcher dispatcher, SessionImpl session, ItemManager itemMgr) throws NullPointerException
ObservationManager
instance.
dispatcher
- observation dispatchersession
- the Session
this ObservationManager
belongs to.itemMgr
- ItemManager
of the passed
Session
.
NullPointerException
- if session
or itemMgr
is null
.Method Detail |
---|
public void addEventListener(EventListener listener, int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal) throws RepositoryException
addEventListener
in interface ObservationManager
RepositoryException
public void removeEventListener(EventListener listener) throws RepositoryException
removeEventListener
in interface ObservationManager
RepositoryException
public EventListenerIterator getRegisteredEventListeners() throws RepositoryException
getRegisteredEventListeners
in interface ObservationManager
RepositoryException
public void dispose()
public EventStateCollection createEventStateCollection()
EventStateCollection
.
Creates an EventStateCollection
tied to the session
which is attached to this ObservationManager
instance.
createEventStateCollection
in interface EventStateCollectionFactory
EventStateCollection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |