public class WorkflowLogContextListener extends Object implements WorkflowExecutorListener
WorkflowExecutorListener.ListenerContext| Constructor and Description |
|---|
WorkflowLogContextListener(String logContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterFailure(WorkflowExecutorListener.ListenerContext listenerContext,
Throwable throwable)
Executed after state processing has failed and before persisting state.
|
void |
afterProcessing(WorkflowExecutorListener.ListenerContext listenerContext)
Executed after state has been successfully processed and before persisting
state.
|
void |
beforeProcessing(WorkflowExecutorListener.ListenerContext listenerContext)
Executed before state is processed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocesspublic WorkflowLogContextListener(String logContext)
public void beforeProcessing(WorkflowExecutorListener.ListenerContext listenerContext)
WorkflowExecutorListenerbeforeProcessing in interface WorkflowExecutorListenerlistenerContext - The listener context.public void afterProcessing(WorkflowExecutorListener.ListenerContext listenerContext)
WorkflowExecutorListenerafterProcessing in interface WorkflowExecutorListenerlistenerContext - The listener context.public void afterFailure(WorkflowExecutorListener.ListenerContext listenerContext, Throwable throwable)
WorkflowExecutorListenerafterFailure in interface WorkflowExecutorListenerlistenerContext - The listener context.throwable - The exception thrown by the state handler method.Copyright © 2014–2020 Nitor Creations. All rights reserved.