org.apache.jackrabbit.core.observation
Class ObservationDispatcher

java.lang.Object
  extended by org.apache.jackrabbit.core.observation.ObservationDispatcher
All Implemented Interfaces:
Runnable

public final class ObservationDispatcher
extends Object
implements Runnable

Dispatcher for dispatching events to listeners within a single workspace.


Constructor Summary
ObservationDispatcher()
          Creates a new ObservationDispatcher instance and starts the notification thread deamon.
 
Method Summary
 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

ObservationDispatcher

public ObservationDispatcher()
Creates a new ObservationDispatcher instance and starts the notification thread deamon.

Method Detail

dispose

public void dispose()
Disposes this ObservationManager. This will effectively stop the background notification thread.


run

public void run()
Implements the run method of the background notification thread.

Specified by:
run in interface Runnable


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.