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 AgendaOperationRunner
Fields 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> T
execute
(CommandConfig config, Command<T> command, CommandExecutor commandExecutor) protected void
executeExecutionListenersAfterException
(CommandContext commandContext, Runnable runnable, Throwable throwable) protected void
executeExecutionListenersAfterExecute
(CommandContext commandContext, Runnable runnable) protected void
executeExecutionListenersBeforeExecute
(CommandContext commandContext, Runnable runnable) void
executeOperation
(CommandContext commandContext, Runnable runnable) protected void
executeOperations
(CommandContext commandContext) getNext()
void
setAgendaOperationRunner
(AgendaOperationRunner agendaOperationRunner) void
setNext
(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:
getNext
in interfaceCommandInterceptor
- Overrides:
getNext
in classAbstractCommandInterceptor
-
setNext
- Specified by:
setNext
in interfaceCommandInterceptor
- Overrides:
setNext
in classAbstractCommandInterceptor
-
getAgendaOperationRunner
-
setAgendaOperationRunner
-