org.camunda.bpm.engine.spring.container
Class ManagedProcessEngineFactoryBean

java.lang.Object
  extended by org.camunda.bpm.engine.spring.ProcessEngineFactoryBean
      extended by 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 the BpmPlatform.

Author:
Daniel Meyer

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.spring.ProcessEngineFactoryBean
applicationContext, processEngine, processEngineConfiguration
 
Constructor Summary
ManagedProcessEngineFactoryBean()
           
 
Method Summary
 void destroy()
           
 ProcessEngine getObject()
           
protected  RuntimeContainerDelegate getRuntimeContainerDelegate()
           
 
Methods inherited from class org.camunda.bpm.engine.spring.ProcessEngineFactoryBean
getObjectType, getProcessEngineConfiguration, initializeExpressionManager, initializeTransactionExternallyManaged, isSingleton, setApplicationContext, setProcessEngineConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedProcessEngineFactoryBean

public ManagedProcessEngineFactoryBean()
Method Detail

getObject

public ProcessEngine getObject()
                        throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<ProcessEngine>
Overrides:
getObject in class ProcessEngineFactoryBean
Throws:
Exception

getRuntimeContainerDelegate

protected RuntimeContainerDelegate getRuntimeContainerDelegate()

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Overrides:
destroy in class ProcessEngineFactoryBean
Throws:
Exception


Copyright © 2016 camunda services GmbH. All rights reserved.