public class EventProducerRegistry extends Object
event producers that allow for simple
registration| Constructor and Description |
|---|
EventProducerRegistry() |
| Modifier and Type | Method and Description |
|---|---|
EventProducer |
getProducer(String eventName)
Get the producer that must handle events with the given name
|
void |
register(String eventName,
EventProducer producer)
Register a producer for a given event name
|
public void register(String eventName, EventProducer producer)
eventName - the name of the eventproducer - the event producer for the event namepublic EventProducer getProducer(String eventName)
eventName - the name of the event to be processedCopyright © 2005–2018 Alfresco Software. All rights reserved.