public class CompositeDbHistoryEventHandler extends CompositeHistoryEventHandler
CompositeHistoryEventHandler
implementation which additionally adds
to the list of HistoryEventHandler
the DbHistoryEventHandler
which persists events to a database.historyEventHandlers
Constructor and Description |
---|
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 . |
public CompositeDbHistoryEventHandler()
DbHistoryEventHandler
to the
list of HistoryEventHandler
.public CompositeDbHistoryEventHandler(HistoryEventHandler... historyEventHandlers)
HistoryEventHandler
that
consume the event and adds DbHistoryEventHandler
to the list of
HistoryEventHandler
.historyEventHandlers
- the list of HistoryEventHandler
that consume the event.public CompositeDbHistoryEventHandler(List<HistoryEventHandler> historyEventHandlers)
HistoryEventHandler
that consume
the event and adds DbHistoryEventHandler
to the list of
HistoryEventHandler
.historyEventHandlers
- the list of HistoryEventHandler
that consume the event.Copyright © 2017. All rights reserved.