org.exoplatform.services.jcr.rmi.api.client
Class ClientObservationManager
java.lang.Object
org.exoplatform.services.jcr.rmi.api.client.ClientObject
org.exoplatform.services.jcr.rmi.api.client.ClientObservationManager
- All Implemented Interfaces:
- javax.jcr.observation.ObservationManager
public class ClientObservationManager
- extends ClientObject
- implements javax.jcr.observation.ObservationManager
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 ClientEventPoll
|
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.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 |
ClientObservationManager
public ClientObservationManager(javax.jcr.Workspace workspace,
RemoteObservationManager remote)
- Creates an instance of this class talking to the given remote observation manager.
- Parameters:
remote - The RemoteObservationManager backing this client-side observation manager.workspace - The Workspace instance to which this observation manager belongs.
addEventListener
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
-
- Specified by:
addEventListener in interface javax.jcr.observation.ObservationManager
- Throws:
javax.jcr.RepositoryException
removeEventListener
public void removeEventListener(javax.jcr.observation.EventListener listener)
throws javax.jcr.RepositoryException
-
- Specified by:
removeEventListener in interface javax.jcr.observation.ObservationManager
- Throws:
javax.jcr.RepositoryException
getRegisteredEventListeners
public javax.jcr.observation.EventListenerIterator getRegisteredEventListeners()
-
- Specified by:
getRegisteredEventListeners in interface javax.jcr.observation.ObservationManager
Copyright © 2011 eXo Platform SAS. All Rights Reserved.