Class CommandContextInterceptor
- java.lang.Object
-
- org.flowable.common.engine.impl.interceptor.AbstractCommandInterceptor
-
- org.flowable.common.engine.impl.interceptor.CommandContextInterceptor
-
- All Implemented Interfaces:
CommandInterceptor
public class CommandContextInterceptor extends AbstractCommandInterceptor
- Author:
- Tom Baeyens, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassLoaderclassLoaderprotected Clockclockprotected CommandContextFactorycommandContextFactoryprotected StringengineCfgKeyprotected Map<String,AbstractEngineConfiguration>engineConfigurationsprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected booleanuseClassForNameClassLoading-
Fields inherited from class org.flowable.common.engine.impl.interceptor.AbstractCommandInterceptor
next
-
-
Constructor Summary
Constructors Constructor Description CommandContextInterceptor()CommandContextInterceptor(CommandContextFactory commandContextFactory, ClassLoader classLoader, boolean useClassForNameClassLoading, Clock clock, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Texecute(CommandConfig config, Command<T> command, CommandExecutor commandExecutor)CommandContextFactorygetCommandContextFactory()StringgetEngineCfgKey()Map<String,AbstractEngineConfiguration>getEngineConfigurations()voidsetCommandContextFactory(CommandContextFactory commandContextFactory)voidsetEngineCfgKey(String engineCfgKey)voidsetEngineConfigurations(Map<String,AbstractEngineConfiguration> engineConfigurations)-
Methods inherited from class org.flowable.common.engine.impl.interceptor.AbstractCommandInterceptor
getNext, setNext
-
-
-
-
Field Detail
-
commandContextFactory
protected CommandContextFactory commandContextFactory
-
classLoader
protected ClassLoader classLoader
-
useClassForNameClassLoading
protected boolean useClassForNameClassLoading
-
clock
protected Clock clock
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
engineConfigurations
protected Map<String,AbstractEngineConfiguration> engineConfigurations
-
engineCfgKey
protected String engineCfgKey
-
-
Constructor Detail
-
CommandContextInterceptor
public CommandContextInterceptor()
-
CommandContextInterceptor
public CommandContextInterceptor(CommandContextFactory commandContextFactory, ClassLoader classLoader, boolean useClassForNameClassLoading, Clock clock, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
execute
public <T> T execute(CommandConfig config, Command<T> command, CommandExecutor commandExecutor)
-
getCommandContextFactory
public CommandContextFactory getCommandContextFactory()
-
setCommandContextFactory
public void setCommandContextFactory(CommandContextFactory commandContextFactory)
-
getEngineConfigurations
public Map<String,AbstractEngineConfiguration> getEngineConfigurations()
-
setEngineConfigurations
public void setEngineConfigurations(Map<String,AbstractEngineConfiguration> engineConfigurations)
-
getEngineCfgKey
public String getEngineCfgKey()
-
setEngineCfgKey
public void setEngineCfgKey(String engineCfgKey)
-
-