org.camunda.bpm.engine.impl.interceptor
Class CommandContext
java.lang.Object
org.camunda.bpm.engine.impl.interceptor.CommandContext
public class CommandContext
- extends Object
- Author:
- Tom Baeyens, Agim Emruli, Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
command
protected Command<?> command
transactionContext
protected TransactionContext transactionContext
sessionFactories
protected Map<Class<?>,SessionFactory> sessionFactories
sessions
protected Map<Class<?>,Session> sessions
exception
protected Throwable exception
nextOperations
protected LinkedList<AtomicOperation> nextOperations
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
failedJobCommandFactory
protected FailedJobCommandFactory failedJobCommandFactory
commandContextCloseListeners
protected List<CommandContextCloseListener> commandContextCloseListeners
CommandContext
public CommandContext(Command<?> command,
ProcessEngineConfigurationImpl processEngineConfiguration)
CommandContext
public CommandContext(Command<?> cmd,
ProcessEngineConfigurationImpl processEngineConfiguration,
TransactionContextFactory transactionContextFactory)
performOperation
public void performOperation(AtomicOperation executionOperation,
InterpretableExecution execution)
getTargetProcessApplication
protected ProcessApplicationReference getTargetProcessApplication(InterpretableExecution execution)
requiresContextSwitch
protected boolean requiresContextSwitch(AtomicOperation executionOperation,
ProcessApplicationReference processApplicationReference)
close
public void close()
fireCommandContextClose
protected void fireCommandContextClose()
flushSessions
protected void flushSessions()
closeSessions
protected void closeSessions()
exception
public void exception(Throwable exception)
getSession
public <T> T getSession(Class<T> sessionClass)
getDbSqlSession
public DbSqlSession getDbSqlSession()
getDeploymentManager
public DeploymentManager getDeploymentManager()
getResourceManager
public ResourceManager getResourceManager()
getByteArrayManager
public ByteArrayManager getByteArrayManager()
getProcessDefinitionManager
public ProcessDefinitionManager getProcessDefinitionManager()
getExecutionManager
public ExecutionManager getExecutionManager()
getTaskManager
public TaskManager getTaskManager()
getIdentityLinkManager
public IdentityLinkManager getIdentityLinkManager()
getVariableInstanceManager
public VariableInstanceManager getVariableInstanceManager()
getHistoricProcessInstanceManager
public HistoricProcessInstanceManager getHistoricProcessInstanceManager()
getHistoricDetailManager
public HistoricDetailManager getHistoricDetailManager()
getHistoricVariableInstanceManager
public HistoricVariableInstanceManager getHistoricVariableInstanceManager()
getHistoricActivityInstanceManager
public HistoricActivityInstanceManager getHistoricActivityInstanceManager()
getHistoricTaskInstanceManager
public HistoricTaskInstanceManager getHistoricTaskInstanceManager()
getJobManager
public JobManager getJobManager()
getJobDefinitionManager
public JobDefinitionManager getJobDefinitionManager()
getIncidentManager
public IncidentManager getIncidentManager()
getIdentityInfoManager
public IdentityInfoManager getIdentityInfoManager()
getAttachmentManager
public AttachmentManager getAttachmentManager()
getTableDataManager
public TableDataManager getTableDataManager()
getCommentManager
public CommentManager getCommentManager()
getEventSubscriptionManager
public EventSubscriptionManager getEventSubscriptionManager()
getSessionFactories
public Map<Class<?>,SessionFactory> getSessionFactories()
getPropertyManager
public PropertyManager getPropertyManager()
getStatisticsManager
public StatisticsManager getStatisticsManager()
getHistoricStatisticsManager
public HistoricStatisticsManager getHistoricStatisticsManager()
getAuthorizationManager
public AuthorizationManager getAuthorizationManager()
getReadOnlyIdentityProvider
public ReadOnlyIdentityProvider getReadOnlyIdentityProvider()
getWritableIdentityProvider
public WritableIdentityProvider getWritableIdentityProvider()
registerCommandContextCloseListener
public void registerCommandContextCloseListener(CommandContextCloseListener commandContextCloseListener)
getTransactionContext
public TransactionContext getTransactionContext()
getCommand
public Command<?> getCommand()
getSessions
public Map<Class<?>,Session> getSessions()
getException
public Throwable getException()
getFailedJobCommandFactory
public FailedJobCommandFactory getFailedJobCommandFactory()
getAuthentication
public Authentication getAuthentication()
runWithoutAuthentication
public void runWithoutAuthentication(Runnable runnable)
getAuthenticatedUserId
public String getAuthenticatedUserId()
getAuthenticatedGroupIds
public List<String> getAuthenticatedGroupIds()
Copyright © 2014 camunda services GmbH. All Rights Reserved.