Class EventServiceImpl
java.lang.Object
org.bonitasoft.engine.events.impl.AbstractEventServiceImpl
org.bonitasoft.engine.events.impl.EventServiceImpl
- All Implemented Interfaces:
EventService
- Author:
- Christophe Havard, Matthieu Chaffotte, Laurent Vaills
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddHandlerFor(String eventType, SHandler<SEvent> handler) protected booleancontainsHandlerFor(String key) protected Collection<SHandler<SEvent>>getHandlersFor(String eventType) protected org.slf4j.Loggerprotected voidremoveAllHandlersFor(SHandler<SEvent> handler) protected voidremoveHandlerFor(String eventType, SHandler<SEvent> h) Methods inherited from class org.bonitasoft.engine.events.impl.AbstractEventServiceImpl
addHandler, fireEvent, getHandlers, hasHandlers, removeAllHandlers, removeHandler
-
Field Details
-
registeredHandlers
Contains a list of all events type and their registered handlers
-
-
Constructor Details
-
EventServiceImpl
public EventServiceImpl()
-
-
Method Details
-
getLogger
protected org.slf4j.Logger getLogger()- Specified by:
getLoggerin classAbstractEventServiceImpl
-
containsHandlerFor
- Specified by:
containsHandlerForin classAbstractEventServiceImpl
-
getHandlersFor
- Specified by:
getHandlersForin classAbstractEventServiceImpl
-
addHandlerFor
protected void addHandlerFor(String eventType, SHandler<SEvent> handler) throws HandlerRegistrationException - Specified by:
addHandlerForin classAbstractEventServiceImpl- Throws:
HandlerRegistrationException
-
removeAllHandlersFor
- Specified by:
removeAllHandlersForin classAbstractEventServiceImpl
-
removeHandlerFor
protected void removeHandlerFor(String eventType, SHandler<SEvent> h) throws HandlerUnregistrationException - Specified by:
removeHandlerForin classAbstractEventServiceImpl- Throws:
HandlerUnregistrationException
-