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
ConstructorDescriptionNon-argument constructor that addsDbHistoryEventHandler
to the list ofHistoryEventHandler
.CompositeDbHistoryEventHandler
(List<HistoryEventHandler> historyEventHandlers) Constructor that takes a list ofHistoryEventHandler
that consume the event and addsDbHistoryEventHandler
to the list ofHistoryEventHandler
.CompositeDbHistoryEventHandler
(HistoryEventHandler... historyEventHandlers) Constructor that takes a varargs parameterHistoryEventHandler
that consume the event and addsDbHistoryEventHandler
to 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 addsDbHistoryEventHandler
to the list ofHistoryEventHandler
. -
CompositeDbHistoryEventHandler
Constructor that takes a varargs parameterHistoryEventHandler
that consume the event and addsDbHistoryEventHandler
to the list ofHistoryEventHandler
.- Parameters:
historyEventHandlers
- the list ofHistoryEventHandler
that consume the event.
-
CompositeDbHistoryEventHandler
Constructor that takes a list ofHistoryEventHandler
that consume the event and addsDbHistoryEventHandler
to the list ofHistoryEventHandler
.- Parameters:
historyEventHandlers
- the list ofHistoryEventHandler
that consume the event.
-