org.camunda.bpm.engine.spring
Class ProcessEngineFactoryBean

java.lang.Object
  extended by 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
protected  org.springframework.context.ApplicationContext applicationContext
           
protected  ProcessEngineImpl processEngine
           
protected  ProcessEngineConfigurationImpl processEngineConfiguration
           
 
Constructor Summary
ProcessEngineFactoryBean()
           
 
Method Summary
 void destroy()
           
 ProcessEngine getObject()
           
 Class<ProcessEngine> getObjectType()
           
 ProcessEngineConfigurationImpl getProcessEngineConfiguration()
           
protected  void initializeExpressionManager()
           
protected  void initializeTransactionExternallyManaged()
           
 boolean isSingleton()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processEngineConfiguration

protected ProcessEngineConfigurationImpl processEngineConfiguration

applicationContext

protected org.springframework.context.ApplicationContext applicationContext

processEngine

protected ProcessEngineImpl processEngine
Constructor Detail

ProcessEngineFactoryBean

public ProcessEngineFactoryBean()
Method Detail

destroy

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

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

getObject

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

initializeExpressionManager

protected void initializeExpressionManager()

initializeTransactionExternallyManaged

protected void initializeTransactionExternallyManaged()

getObjectType

public Class<ProcessEngine> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<ProcessEngine>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<ProcessEngine>

getProcessEngineConfiguration

public ProcessEngineConfigurationImpl getProcessEngineConfiguration()

setProcessEngineConfiguration

public void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration)


Copyright © 2015 camunda services GmbH. All rights reserved.