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
public class CompositeDbHistoryEventHandler extends CompositeHistoryEventHandler
ACompositeHistoryEventHandlerimplementation which additionally adds to the list ofHistoryEventHandlertheDbHistoryEventHandlerwhich 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
Constructors Constructor Description CompositeDbHistoryEventHandler()Non-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.
-
-
-
Constructor Detail
-
CompositeDbHistoryEventHandler
public CompositeDbHistoryEventHandler()
Non-argument constructor that addsDbHistoryEventHandlerto the list ofHistoryEventHandler.
-
CompositeDbHistoryEventHandler
public CompositeDbHistoryEventHandler(HistoryEventHandler... historyEventHandlers)
Constructor that takes a varargs parameterHistoryEventHandlerthat consume the event and addsDbHistoryEventHandlerto the list ofHistoryEventHandler.- Parameters:
historyEventHandlers- the list ofHistoryEventHandlerthat consume the event.
-
CompositeDbHistoryEventHandler
public CompositeDbHistoryEventHandler(List<HistoryEventHandler> historyEventHandlers)
Constructor that takes a list ofHistoryEventHandlerthat consume the event and addsDbHistoryEventHandlerto the list ofHistoryEventHandler.- Parameters:
historyEventHandlers- the list ofHistoryEventHandlerthat consume the event.
-
-