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
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected ProcessEngineImpl
protected ProcessEngineConfigurationImpl
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
protected void
protected void
boolean
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setProcessEngineConfiguration
(ProcessEngineConfigurationImpl processEngineConfiguration)
-
Field Details
-
processEngineConfiguration
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
processEngine
-
-
Constructor Details
-
ProcessEngineFactoryBean
public ProcessEngineFactoryBean()
-
-
Method Details
-
destroy
- 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
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<ProcessEngine>
- Throws:
Exception
-
initializeExpressionManager
protected void initializeExpressionManager() -
initializeTransactionExternallyManaged
protected void initializeTransactionExternallyManaged() -
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
-
setProcessEngineConfiguration
public void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration)
-