|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.observation.EventDispatcher org.apache.jackrabbit.core.observation.ObservationManagerFactory
The class ObservationManagerFactory
creates new
ObservationManager
instances for sessions. It also
creates new EventStateCollection
s that can be dispatched
to registered EventListener
s.
Constructor Summary | |
ObservationManagerFactory()
Creates a new ObservationManagerFactory instance
and starts the notification thread deamon. |
Method Summary | |
ObservationManagerImpl |
createObservationManager(SessionImpl session,
ItemManager itemMgr)
Creates a new session local ObservationManager
with an associated NamespaceResolver . |
void |
dispose()
Disposes this ObservationManager . |
void |
run()
Implements the run method of the background notification thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObservationManagerFactory()
ObservationManagerFactory
instance
and starts the notification thread deamon.
Method Detail |
public void dispose()
ObservationManager
. This will
effectively stop the background notification thread.
public ObservationManagerImpl createObservationManager(SessionImpl session, ItemManager itemMgr)
session
local ObservationManager
with an associated NamespaceResolver
.
session
- the session.itemMgr
- the ItemManager
of the session
.
ObservationManager
.public void run()
run
in interface Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |