Package org.flowable.spring
Class ProcessEngineFactoryBean
java.lang.Object
org.flowable.spring.ProcessEngineFactoryBean
- All Implemented Interfaces:
Aware
,DisposableBean
,FactoryBean<ProcessEngine>
,ApplicationContextAware
public class ProcessEngineFactoryBean
extends Object
implements FactoryBean<ProcessEngine>, DisposableBean, ApplicationContextAware
- Author:
- Dave Syer, Christian Stettler, Tom Baeyens, Joram Barrez, Josh Long
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ApplicationContext
protected ProcessEngine
protected ProcessEngineConfigurationImpl
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
destroy()
boolean
void
setApplicationContext
(ApplicationContext applicationContext) void
setProcessEngineConfiguration
(ProcessEngineConfigurationImpl processEngineConfiguration)
-
Field Details
-
processEngineConfiguration
-
applicationContext
-
processEngine
-
-
Constructor Details
-
ProcessEngineFactoryBean
public ProcessEngineFactoryBean()
-
-
Method Details
-
destroy
- Specified by:
destroy
in interfaceDisposableBean
- Throws:
Exception
-
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<ProcessEngine>
- Throws:
Exception
-
configureExternallyManagedTransactions
protected void configureExternallyManagedTransactions() -
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<ProcessEngine>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceFactoryBean<ProcessEngine>
-
getProcessEngineConfiguration
-
setProcessEngineConfiguration
public void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration)
-