public class ClientObservationManager extends ClientObject
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) |
public 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
RepositoryException
public void removeEventListener(EventListener listener) throws RepositoryException
RepositoryException
public EventListenerIterator getRegisteredEventListeners()
public EventJournal getEventJournal() throws RepositoryException
RepositoryException
public EventJournal getEventJournal(int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName) throws RepositoryException
RepositoryException
public void setUserData(String userData) throws RepositoryException
RepositoryException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"