|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.priha.core.observation.ObservationManagerImpl
public class ObservationManagerImpl
Implements an ObservationManager. Again, the actual implementation is a per-Session class instantiated at request.
Nested Class Summary | |
---|---|
class |
ObservationManagerImpl.Impl
Session-local ObservationManager. |
Constructor Summary | |
---|---|
ObservationManagerImpl()
|
Method Summary | |
---|---|
void |
addEventListener(SessionImpl session,
java.util.EventListener listener,
int eventTypes,
Path absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.String[] nodeTypeName,
boolean noLocal)
Adds an event listener for a particular Session. |
void |
fireEvent(SessionImpl srcSession,
ChangeStore changes)
|
static ObservationManagerImpl.Impl |
getInstance(WorkspaceImpl workspaceImpl)
Get an instance for a Workspace. |
EventListenerIterator |
getRegisteredEventListeners(SessionImpl session)
Lists EventListeners for a given Session. |
void |
removeEventListener(java.util.EventListener listener)
Removes an Event listener (for any session) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObservationManagerImpl()
Method Detail |
---|
public void addEventListener(SessionImpl session, java.util.EventListener listener, int eventTypes, Path absPath, boolean isDeep, java.lang.String[] uuid, java.lang.String[] nodeTypeName, boolean noLocal) throws RepositoryException
session
- listener
- eventTypes
- absPath
- isDeep
- uuid
- nodeTypeName
- noLocal
-
RepositoryException
public EventListenerIterator getRegisteredEventListeners(SessionImpl session) throws RepositoryException
session
-
RepositoryException
public void removeEventListener(java.util.EventListener listener) throws RepositoryException
listener
-
RepositoryException
public void fireEvent(SessionImpl srcSession, ChangeStore changes)
public static ObservationManagerImpl.Impl getInstance(WorkspaceImpl workspaceImpl)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |