org.dspace.event
Class EventManager

java.lang.Object
  extended by org.dspace.event.EventManager

public class EventManager
extends Object

Class for managing the content event environment. The EventManager mainly acts as a factory for Dispatchers, which are used by the Context to send events to consumers. It also contains generally useful utility methods. Version: $Revision: 3762 $


Field Summary
static String DEFAULT_DISPATCHER
           
 
Constructor Summary
EventManager()
           
 
Method Summary
protected static int getConsumerIndex(String consumerClass)
           
static Dispatcher getDispatcher(String name)
          Get dispatcher for configuration named by "name".
static void returnDispatcher(String key, Dispatcher disp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DISPATCHER

public static final String DEFAULT_DISPATCHER
See Also:
Constant Field Values
Constructor Detail

EventManager

public EventManager()
Method Detail

getDispatcher

public static Dispatcher getDispatcher(String name)
Get dispatcher for configuration named by "name". Returns cached instance if one exists.


returnDispatcher

public static void returnDispatcher(String key,
                                    Dispatcher disp)

getConsumerIndex

protected static int getConsumerIndex(String consumerClass)


Copyright © 2010 DuraSpace. All Rights Reserved.