public class EventServiceImpl extends AbstractEventServiceImpl
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,List<SHandler<SEvent>>> |
registeredHandlers
Contains a list of all events type and their registered handlers
|
logger| Constructor and Description |
|---|
EventServiceImpl(TechnicalLoggerService logger) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addHandlerFor(String eventType,
SHandler<SEvent> handler) |
protected boolean |
containsHandlerFor(String key) |
protected Collection<SHandler<SEvent>> |
getHandlersFor(String eventType) |
protected void |
removeAllHandlersFor(SHandler<SEvent> handler) |
protected void |
removeHandlerFor(String eventType,
SHandler<SEvent> h) |
addHandler, fireEvent, getHandlers, hasHandlers, removeAllHandlers, removeHandlerpublic EventServiceImpl(TechnicalLoggerService logger)
protected boolean containsHandlerFor(String key)
containsHandlerFor in class AbstractEventServiceImplprotected Collection<SHandler<SEvent>> getHandlersFor(String eventType)
getHandlersFor in class AbstractEventServiceImplprotected void addHandlerFor(String eventType, SHandler<SEvent> handler) throws HandlerRegistrationException
addHandlerFor in class AbstractEventServiceImplHandlerRegistrationExceptionprotected void removeAllHandlersFor(SHandler<SEvent> handler)
removeAllHandlersFor in class AbstractEventServiceImplprotected void removeHandlerFor(String eventType, SHandler<SEvent> h) throws HandlerUnregistrationException
removeHandlerFor in class AbstractEventServiceImplHandlerUnregistrationExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.