Class CompositeDbHistoryEventHandler
java.lang.Object
org.camunda.bpm.engine.impl.history.handler.CompositeHistoryEventHandler
org.camunda.bpm.engine.impl.history.handler.CompositeDbHistoryEventHandler
- All Implemented Interfaces:
HistoryEventHandler
A
CompositeHistoryEventHandler implementation which additionally adds
to the list of HistoryEventHandler the DbHistoryEventHandler
which persists events to a database.- Author:
- Alexander Tyatenkov
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.history.handler.CompositeHistoryEventHandler
historyEventHandlers -
Constructor Summary
ConstructorsConstructorDescriptionNon-argument constructor that addsDbHistoryEventHandlerto the list ofHistoryEventHandler.CompositeDbHistoryEventHandler(List<HistoryEventHandler> historyEventHandlers) Constructor that takes a list ofHistoryEventHandlerthat consume the event and addsDbHistoryEventHandlerto the list ofHistoryEventHandler.CompositeDbHistoryEventHandler(HistoryEventHandler... historyEventHandlers) Constructor that takes a varargs parameterHistoryEventHandlerthat consume the event and addsDbHistoryEventHandlerto the list ofHistoryEventHandler. -
Method Summary
Methods inherited from class org.camunda.bpm.engine.impl.history.handler.CompositeHistoryEventHandler
add, handleEvent, handleEvents
-
Constructor Details
-
CompositeDbHistoryEventHandler
public CompositeDbHistoryEventHandler()Non-argument constructor that addsDbHistoryEventHandlerto the list ofHistoryEventHandler. -
CompositeDbHistoryEventHandler
Constructor that takes a varargs parameterHistoryEventHandlerthat consume the event and addsDbHistoryEventHandlerto the list ofHistoryEventHandler.- Parameters:
historyEventHandlers- the list ofHistoryEventHandlerthat consume the event.
-
CompositeDbHistoryEventHandler
Constructor that takes a list ofHistoryEventHandlerthat consume the event and addsDbHistoryEventHandlerto the list ofHistoryEventHandler.- Parameters:
historyEventHandlers- the list ofHistoryEventHandlerthat consume the event.
-