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.
@Deprecated public class ClientObservationManager extends ClientObject implements ObservationManager
ClientEventPoll| Constructor and Description |
|---|
ClientObservationManager(Workspace workspace,
RemoteObservationManager remote)
Deprecated.
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)
Deprecated.
|
EventJournal |
getEventJournal()
Deprecated.
|
EventJournal |
getEventJournal(int eventTypes,
String absPath,
boolean isDeep,
String[] uuid,
String[] nodeTypeName)
Deprecated.
|
EventListenerIterator |
getRegisteredEventListeners()
Deprecated.
|
void |
removeEventListener(EventListener listener)
Deprecated.
|
void |
setUserData(String userData)
Deprecated.
|
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–2024 The Apache Software Foundation. All rights reserved.