Class ManagedProcessEngineFactoryBean
- java.lang.Object
-
- org.camunda.bpm.engine.spring.ProcessEngineFactoryBean
-
- org.camunda.bpm.engine.spring.container.ManagedProcessEngineFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<ProcessEngine>
,org.springframework.context.ApplicationContextAware
public class ManagedProcessEngineFactoryBean extends ProcessEngineFactoryBean
Factory bean registering a spring-managed process engine with the
BpmPlatform
.Replacement for
ProcessEngineFactoryBean
. Use this implementation if you want to register a process engine configured in a spring application context with theBpmPlatform
.- Author:
- Daniel Meyer
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.spring.ProcessEngineFactoryBean
applicationContext, processEngine, processEngineConfiguration
-
-
Constructor Summary
Constructors Constructor Description ManagedProcessEngineFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
ProcessEngine
getObject()
protected RuntimeContainerDelegate
getRuntimeContainerDelegate()
-
Methods inherited from class org.camunda.bpm.engine.spring.ProcessEngineFactoryBean
getObjectType, getProcessEngineConfiguration, initializeExpressionManager, initializeTransactionExternallyManaged, isSingleton, setApplicationContext, setProcessEngineConfiguration
-
-
-
-
Method Detail
-
getObject
public ProcessEngine getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<ProcessEngine>
- Overrides:
getObject
in classProcessEngineFactoryBean
- Throws:
Exception
-
getRuntimeContainerDelegate
protected RuntimeContainerDelegate getRuntimeContainerDelegate()
-
destroy
public void destroy() throws Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Overrides:
destroy
in classProcessEngineFactoryBean
- Throws:
Exception
-
-