Package org.camunda.bpm.engine.spring
Class ProcessEngineFactoryBean
- java.lang.Object
-
- org.camunda.bpm.engine.spring.ProcessEngineFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<ProcessEngine>
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
ManagedProcessEngineFactoryBean
public class ProcessEngineFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<ProcessEngine>, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
- Author:
- Dave Syer, Christian Stettler, Tom Baeyens, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContext
applicationContext
protected ProcessEngineImpl
processEngine
protected ProcessEngineConfigurationImpl
processEngineConfiguration
-
Constructor Summary
Constructors Constructor Description ProcessEngineFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
ProcessEngine
getObject()
Class<ProcessEngine>
getObjectType()
ProcessEngineConfigurationImpl
getProcessEngineConfiguration()
protected void
initializeExpressionManager()
protected void
initializeTransactionExternallyManaged()
boolean
isSingleton()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
-
Field Detail
-
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
processEngine
protected ProcessEngineImpl processEngine
-
-
Method Detail
-
destroy
public void destroy() throws Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getObject
public ProcessEngine getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<ProcessEngine>
- Throws:
Exception
-
initializeExpressionManager
protected void initializeExpressionManager()
-
initializeTransactionExternallyManaged
protected void initializeTransactionExternallyManaged()
-
getObjectType
public Class<ProcessEngine> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<ProcessEngine>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<ProcessEngine>
-
getProcessEngineConfiguration
public ProcessEngineConfigurationImpl getProcessEngineConfiguration()
-
setProcessEngineConfiguration
public void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration)
-
-