|
||||||||||
| 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,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.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 java.lang.NullPointerException
ObservationManager instance.
dispatcher - observation dispatchersession - the Session this ObservationManager
belongs to.itemMgr - ItemManager of the passed
Session.
java.lang.NullPointerException - if session or itemMgr
is null.| Method Detail |
|---|
public void addEventListener(javax.jcr.observation.EventListener listener,
int eventTypes,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.String[] nodeTypeName,
boolean noLocal)
throws javax.jcr.RepositoryException
addEventListener in interface javax.jcr.observation.ObservationManagerjavax.jcr.RepositoryException
public void removeEventListener(javax.jcr.observation.EventListener listener)
throws javax.jcr.RepositoryException
removeEventListener in interface javax.jcr.observation.ObservationManagerjavax.jcr.RepositoryException
public javax.jcr.observation.EventListenerIterator getRegisteredEventListeners()
throws javax.jcr.RepositoryException
getRegisteredEventListeners in interface javax.jcr.observation.ObservationManagerjavax.jcr.RepositoryExceptionpublic void dispose()
public EventStateCollection createEventStateCollection()
EventStateCollection.
Creates an EventStateCollection tied to the session
which is attached to this ObservationManager instance.
createEventStateCollection in interface EventStateCollectionFactoryEventStateCollection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||