Class CommandContextInterceptor
- java.lang.Object
-
- org.activiti.engine.impl.interceptor.AbstractCommandInterceptor
-
- org.activiti.engine.impl.interceptor.CommandContextInterceptor
-
- All Implemented Interfaces:
CommandInterceptor
public class CommandContextInterceptor extends AbstractCommandInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandContextFactorycommandContextFactoryprotected ProcessEngineConfigurationImplprocessEngineConfiguration-
Fields inherited from class org.activiti.engine.impl.interceptor.AbstractCommandInterceptor
next
-
-
Constructor Summary
Constructors Constructor Description CommandContextInterceptor()CommandContextInterceptor(CommandContextFactory commandContextFactory, ProcessEngineConfigurationImpl processEngineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Texecute(CommandConfig config, Command<T> command)CommandContextFactorygetCommandContextFactory()ProcessEngineConfigurationImplgetProcessEngineConfiguration()voidsetCommandContextFactory(CommandContextFactory commandContextFactory)voidsetProcessEngineContext(ProcessEngineConfigurationImpl processEngineContext)-
Methods inherited from class org.activiti.engine.impl.interceptor.AbstractCommandInterceptor
getNext, setNext
-
-
-
-
Field Detail
-
commandContextFactory
protected CommandContextFactory commandContextFactory
-
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
-
-
Constructor Detail
-
CommandContextInterceptor
public CommandContextInterceptor()
-
CommandContextInterceptor
public CommandContextInterceptor(CommandContextFactory commandContextFactory, ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Detail
-
execute
public <T> T execute(CommandConfig config, Command<T> command)
-
getCommandContextFactory
public CommandContextFactory getCommandContextFactory()
-
setCommandContextFactory
public void setCommandContextFactory(CommandContextFactory commandContextFactory)
-
getProcessEngineConfiguration
public ProcessEngineConfigurationImpl getProcessEngineConfiguration()
-
setProcessEngineContext
public void setProcessEngineContext(ProcessEngineConfigurationImpl processEngineContext)
-
-