Class ProcessEngineFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.ProcessEngine>, org.springframework.context.ApplicationContextAware
    Direct Known Subclasses:
    ManagedProcessEngineFactoryBean

    public class ProcessEngineFactoryBean
    extends Object
    implements org.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.ProcessEngine>, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
    Author:
    Dave Syer, Christian Stettler, Tom Baeyens, Joram Barrez
    • Field Detail

      • processEngineConfiguration

        protected org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration
      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
      • processEngine

        protected org.camunda.bpm.engine.impl.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 org.camunda.bpm.engine.ProcessEngine getObject()
                                                       throws Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.ProcessEngine>
        Throws:
        Exception
      • initializeExpressionManager

        protected void initializeExpressionManager()
      • initializeTransactionExternallyManaged

        protected void initializeTransactionExternallyManaged()
      • getObjectType

        public Class<org.camunda.bpm.engine.ProcessEngine> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.ProcessEngine>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<org.camunda.bpm.engine.ProcessEngine>
      • getProcessEngineConfiguration

        public org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl getProcessEngineConfiguration()
      • setProcessEngineConfiguration

        public void setProcessEngineConfiguration​(org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)