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
ACompositeHistoryEventHandler
implementation which additionally adds to the list ofHistoryEventHandler
theDbHistoryEventHandler
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
Constructors Constructor Description CompositeDbHistoryEventHandler()
Non-argument constructor that addsDbHistoryEventHandler
to the list ofHistoryEventHandler
.CompositeDbHistoryEventHandler(java.util.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 Detail
-
CompositeDbHistoryEventHandler
public CompositeDbHistoryEventHandler()
Non-argument constructor that addsDbHistoryEventHandler
to the list ofHistoryEventHandler
.
-
CompositeDbHistoryEventHandler
public CompositeDbHistoryEventHandler(HistoryEventHandler... historyEventHandlers)
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
public CompositeDbHistoryEventHandler(java.util.List<HistoryEventHandler> historyEventHandlers)
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.
-
-