public class ClientObservationManager extends ClientObject implements ObservationManager
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 and Description | 
|---|
| ClientObservationManager(Workspace workspace,
                        RemoteObservationManager remote)Creates an instance of this class talking to the given remote observation
 manager. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addEventListener(EventListener listener,
                int eventTypes,
                String absPath,
                boolean isDeep,
                String[] uuid,
                String[] nodeTypeName,
                boolean noLocal) | 
| EventJournal | getEventJournal() | 
| EventJournal | getEventJournal(int eventTypes,
               String absPath,
               boolean isDeep,
               String[] uuid,
               String[] nodeTypeName) | 
| EventListenerIterator | getRegisteredEventListeners() | 
| void | removeEventListener(EventListener listener) | 
| void | setUserData(String userData) | 
getFactory, getItem, getNode, getNodeTypeArraypublic ClientObservationManager(Workspace workspace, RemoteObservationManager remote)
remote - The RemoteObservationManager backing this
      client-side observation manager.workspace - The Workspace instance to which this
      observation manager belongs.public void addEventListener(EventListener listener, int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal) throws RepositoryException
addEventListener in interface ObservationManagerRepositoryExceptionpublic void removeEventListener(EventListener listener) throws RepositoryException
removeEventListener in interface ObservationManagerRepositoryExceptionpublic EventListenerIterator getRegisteredEventListeners()
getRegisteredEventListeners in interface ObservationManagerpublic EventJournal getEventJournal() throws RepositoryException
getEventJournal in interface ObservationManagerRepositoryExceptionpublic EventJournal getEventJournal(int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName) throws RepositoryException
getEventJournal in interface ObservationManagerRepositoryExceptionpublic void setUserData(String userData) throws RepositoryException
setUserData in interface ObservationManagerRepositoryExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.