|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientObservationManager
public class ClientObservationManager
The ClientObservationManager
class
This class uses an instance of the
ClientEventPoll
class for the
actual registration and event dispatching.
This class does not require the
LocalAdapterFactory
and consequently
calls the base class constructor with a null
factory.
See the observation
package comment for a description on how event listener registration and
notification is implemented.
ClientEventPoll
Constructor Summary | |
---|---|
ClientObservationManager(javax.jcr.Workspace workspace,
RemoteObservationManager remote)
Creates an instance of this class talking to the given remote observation manager. |
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)
|
javax.jcr.observation.EventJournal |
getEventJournal()
|
javax.jcr.observation.EventJournal |
getEventJournal(int eventTypes,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.String[] nodeTypeName)
|
javax.jcr.observation.EventListenerIterator |
getRegisteredEventListeners()
|
void |
removeEventListener(javax.jcr.observation.EventListener listener)
|
void |
setUserData(java.lang.String userData)
|
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject |
---|
getFactory, getItem, getNode, getNodeTypeArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientObservationManager(javax.jcr.Workspace workspace, RemoteObservationManager remote)
remote
- The RemoteObservationManager
backing this
client-side observation manager.workspace
- The Workspace
instance to which this
observation manager belongs.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.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()
getRegisteredEventListeners
in interface javax.jcr.observation.ObservationManager
public javax.jcr.observation.EventJournal getEventJournal() throws javax.jcr.RepositoryException
getEventJournal
in interface javax.jcr.observation.ObservationManager
javax.jcr.RepositoryException
public javax.jcr.observation.EventJournal getEventJournal(int eventTypes, java.lang.String absPath, boolean isDeep, java.lang.String[] uuid, java.lang.String[] nodeTypeName) throws javax.jcr.RepositoryException
getEventJournal
in interface javax.jcr.observation.ObservationManager
javax.jcr.RepositoryException
public void setUserData(java.lang.String userData) throws javax.jcr.RepositoryException
setUserData
in interface javax.jcr.observation.ObservationManager
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |