Package org.dspace.event.service
Interface EventService
-
- All Known Implementing Classes:
EventServiceImpl
public interface EventServiceClass 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$
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_DISPATCHER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetConsumerIndex(String consumerClass)DispatchergetDispatcher(String name)Get dispatcher for configuration named by "name".voidreturnDispatcher(String key, Dispatcher disp)
-
-
-
Field Detail
-
DEFAULT_DISPATCHER
static final String DEFAULT_DISPATCHER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDispatcher
Dispatcher getDispatcher(String name)
Get dispatcher for configuration named by "name". Returns cached instance if one exists.- Parameters:
name- dispatcher name- Returns:
- chached instance of dispatcher
-
returnDispatcher
void returnDispatcher(String key, Dispatcher disp)
-
getConsumerIndex
int getConsumerIndex(String consumerClass)
-
-