Class AbstractEventFlusher
java.lang.Object
org.flowable.engine.impl.event.logger.AbstractEventFlusher
- All Implemented Interfaces:
CommandContextCloseListener
,EventFlusher
- Direct Known Subclasses:
DatabaseEventFlusher
- Author:
- Joram Barrez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEventHandler
(EventLoggerEventHandler databaseEventLoggerEventHandler) void
closed
(CommandContext commandContext) Called when theCommandContext
is successfully closed.void
setEventHandlers
(List<EventLoggerEventHandler> eventHandlers) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.interceptor.CommandContextCloseListener
afterSessionsFlush, closeFailure, closing, multipleAllowed, order
-
Field Details
-
eventHandlers
-
-
Constructor Details
-
AbstractEventFlusher
public AbstractEventFlusher()
-
-
Method Details
-
closed
Description copied from interface:CommandContextCloseListener
Called when theCommandContext
is successfully closed. At this point, theTransactionContext
(if applicable) has been successfully committed and no rollback has happened. AllSession
instances have been closed. Note that throwing an exception here does *not* affect the transaction. TheCommandContext
will log the exception though.- Specified by:
closed
in interfaceCommandContextCloseListener
-
getEventHandlers
- Specified by:
getEventHandlers
in interfaceEventFlusher
-
setEventHandlers
- Specified by:
setEventHandlers
in interfaceEventFlusher
-
addEventHandler
- Specified by:
addEventHandler
in interfaceEventFlusher
-