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 java.lang.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()
java.lang.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 java.lang.Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
java.lang.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 java.lang.Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<ProcessEngine>
- Throws:
java.lang.Exception
-
initializeExpressionManager
protected void initializeExpressionManager()
-
initializeTransactionExternallyManaged
protected void initializeTransactionExternallyManaged()
-
getObjectType
public java.lang.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)
-
-