org.camunda.bpm.engine.impl.history.handler
Class CompositeDbHistoryEventHandler

java.lang.Object
  extended by org.camunda.bpm.engine.impl.history.handler.CompositeHistoryEventHandler
      extended by org.camunda.bpm.engine.impl.history.handler.CompositeDbHistoryEventHandler
All Implemented Interfaces:
HistoryEventHandler

public class CompositeDbHistoryEventHandler
extends CompositeHistoryEventHandler

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
CompositeDbHistoryEventHandler()
          Non-argument constructor that adds DbHistoryEventHandler to the list of HistoryEventHandler.
CompositeDbHistoryEventHandler(HistoryEventHandler... historyEventHandlers)
          Constructor that takes a varargs parameter HistoryEventHandler that consume the event and adds DbHistoryEventHandler to the list of HistoryEventHandler.
CompositeDbHistoryEventHandler(List<HistoryEventHandler> historyEventHandlers)
          Constructor that takes a list of HistoryEventHandler that consume the event and adds DbHistoryEventHandler to the list of HistoryEventHandler.
 
Method Summary
 
Methods inherited from class org.camunda.bpm.engine.impl.history.handler.CompositeHistoryEventHandler
add, handleEvent, handleEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDbHistoryEventHandler

public CompositeDbHistoryEventHandler()
Non-argument constructor that adds DbHistoryEventHandler to the list of HistoryEventHandler.


CompositeDbHistoryEventHandler

public CompositeDbHistoryEventHandler(HistoryEventHandler... historyEventHandlers)
Constructor that takes a varargs parameter HistoryEventHandler that consume the event and adds DbHistoryEventHandler to the list of HistoryEventHandler.

Parameters:
historyEventHandlers - the list of HistoryEventHandler that consume the event.

CompositeDbHistoryEventHandler

public CompositeDbHistoryEventHandler(List<HistoryEventHandler> historyEventHandlers)
Constructor that takes a list of HistoryEventHandler that consume the event and adds DbHistoryEventHandler to the list of HistoryEventHandler.

Parameters:
historyEventHandlers - the list of HistoryEventHandler that consume the event.


Copyright © 2015 camunda services GmbH. All rights reserved.