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<org.camunda.bpm.engine.ProcessEngine>,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
ManagedProcessEngineFactoryBean
public class ProcessEngineFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.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.ApplicationContextapplicationContextprotected org.camunda.bpm.engine.impl.ProcessEngineImplprocessEngineprotected org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImplprocessEngineConfiguration
-
Constructor Summary
Constructors Constructor Description ProcessEngineFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()org.camunda.bpm.engine.ProcessEnginegetObject()Class<org.camunda.bpm.engine.ProcessEngine>getObjectType()org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImplgetProcessEngineConfiguration()protected voidinitializeExpressionManager()protected voidinitializeTransactionExternallyManaged()booleanisSingleton()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetProcessEngineConfiguration(org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
-
Field Detail
-
processEngineConfiguration
protected org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
processEngine
protected org.camunda.bpm.engine.impl.ProcessEngineImpl processEngine
-
-
Method Detail
-
destroy
public void destroy() throws Exception- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getObject
public org.camunda.bpm.engine.ProcessEngine getObject() throws Exception- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.ProcessEngine>- Throws:
Exception
-
initializeExpressionManager
protected void initializeExpressionManager()
-
initializeTransactionExternallyManaged
protected void initializeTransactionExternallyManaged()
-
getObjectType
public Class<org.camunda.bpm.engine.ProcessEngine> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.ProcessEngine>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.ProcessEngine>
-
getProcessEngineConfiguration
public org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl getProcessEngineConfiguration()
-
setProcessEngineConfiguration
public void setProcessEngineConfiguration(org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
-
-