Class CommandInvoker
java.lang.Object
org.flowable.common.engine.impl.interceptor.AbstractCommandInterceptor
org.flowable.engine.impl.interceptor.CommandInvoker
- All Implemented Interfaces:
CommandInterceptor
- Author:
- Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<AgendaOperationExecutionListener>protected AgendaOperationRunnerFields inherited from class org.flowable.common.engine.impl.interceptor.AbstractCommandInterceptor
next -
Constructor Summary
ConstructorsConstructorDescriptionCommandInvoker(AgendaOperationRunner agendaOperationRunner, Collection<AgendaOperationExecutionListener> agendaOperationExecutionListeners) -
Method Summary
Modifier and TypeMethodDescription<T> Texecute(CommandConfig config, Command<T> command, CommandExecutor commandExecutor) protected voidexecuteExecutionListenersAfterException(CommandContext commandContext, Runnable runnable, Throwable throwable) protected voidexecuteExecutionListenersAfterExecute(CommandContext commandContext, Runnable runnable) protected voidexecuteExecutionListenersBeforeExecute(CommandContext commandContext, Runnable runnable) voidexecuteOperation(CommandContext commandContext, Runnable runnable) protected voidexecuteOperations(CommandContext commandContext) getNext()voidsetAgendaOperationRunner(AgendaOperationRunner agendaOperationRunner) voidsetNext(CommandInterceptor next)
-
Field Details
-
agendaOperationRunner
-
agendaOperationExecutionListeners
-
-
Constructor Details
-
CommandInvoker
public CommandInvoker(AgendaOperationRunner agendaOperationRunner, Collection<AgendaOperationExecutionListener> agendaOperationExecutionListeners)
-
-
Method Details
-
execute
-
executeOperations
-
executeExecutionListenersBeforeExecute
protected void executeExecutionListenersBeforeExecute(CommandContext commandContext, Runnable runnable) -
executeExecutionListenersAfterExecute
protected void executeExecutionListenersAfterExecute(CommandContext commandContext, Runnable runnable) -
executeExecutionListenersAfterException
protected void executeExecutionListenersAfterException(CommandContext commandContext, Runnable runnable, Throwable throwable) -
executeOperation
-
getNext
- Specified by:
getNextin interfaceCommandInterceptor- Overrides:
getNextin classAbstractCommandInterceptor
-
setNext
- Specified by:
setNextin interfaceCommandInterceptor- Overrides:
setNextin classAbstractCommandInterceptor
-
getAgendaOperationRunner
-
setAgendaOperationRunner
-