Class ProcessScope
java.lang.Object
org.camunda.bpm.engine.spring.components.scope.ProcessScope
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanFactoryPostProcessor,- org.springframework.beans.factory.config.Scope,- org.springframework.beans.factory.DisposableBean,- org.springframework.beans.factory.InitializingBean
public class ProcessScope
extends Object
implements org.springframework.beans.factory.config.Scope, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.DisposableBean
binds variables to a currently executing Activiti business process (a 
ProcessInstance).
 
 Parts of this code are lifted wholesale from Dave Syer's work on the Spring 3.1 RefreshScope.- Since:
- 5.3
- Author:
- Josh Long
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoiddestroy()voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) voidregisterDestructionCallback(String name, Runnable callback) voidsetProcessEngine(ProcessEngine processEngine) 
- 
Field Details- 
PROCESS_SCOPE_PROCESS_VARIABLES_SINGLETONMap of the processVariables. Supports correct, scoped access to process variables so that- See Also:
 
- 
PROCESS_SCOPE_NAME- See Also:
 
 
- 
- 
Constructor Details- 
ProcessScopepublic ProcessScope()
 
- 
- 
Method Details- 
setProcessEngine
- 
get- Specified by:
- getin interface- org.springframework.beans.factory.config.Scope
 
- 
registerDestructionCallback- Specified by:
- registerDestructionCallbackin interface- org.springframework.beans.factory.config.Scope
 
- 
remove- Specified by:
- removein interface- org.springframework.beans.factory.config.Scope
 
- 
resolveContextualObject- Specified by:
- resolveContextualObjectin interface- org.springframework.beans.factory.config.Scope
 
- 
getConversationId- Specified by:
- getConversationIdin interface- org.springframework.beans.factory.config.Scope
 
- 
postProcessBeanFactorypublic void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
- postProcessBeanFactoryin interface- org.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
- org.springframework.beans.BeansException
 
- 
destroy- Specified by:
- destroyin interface- org.springframework.beans.factory.DisposableBean
- Throws:
- Exception
 
- 
afterPropertiesSet- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
- Throws:
- Exception
 
 
-