|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(javax.jcr.observation.EventListener listener,
int eventTypes,
String absPath,
boolean isDeep,
String[] uuid,
String[] nodeTypeName,
boolean noLocal)
|
EventStateCollection |
createEventStateCollection()
Creates an EventStateCollection . |
void |
dispose()
Unregisters all EventListeners. |
javax.jcr.observation.EventListenerIterator |
getRegisteredEventListeners()
|
void |
removeEventListener(javax.jcr.observation.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(javax.jcr.observation.EventListener listener, int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal) throws javax.jcr.RepositoryException
addEventListener
in interface javax.jcr.observation.ObservationManager
javax.jcr.RepositoryException
public void removeEventListener(javax.jcr.observation.EventListener listener) throws javax.jcr.RepositoryException
removeEventListener
in interface javax.jcr.observation.ObservationManager
javax.jcr.RepositoryException
public javax.jcr.observation.EventListenerIterator getRegisteredEventListeners() throws javax.jcr.RepositoryException
getRegisteredEventListeners
in interface javax.jcr.observation.ObservationManager
javax.jcr.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 |