Class SpringBootProcessApplication

  • All Implemented Interfaces:
    EventListener, org.camunda.bpm.application.ProcessApplicationInterface, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ApplicationContextEvent>

    @Configuration
    public class SpringBootProcessApplication
    extends org.camunda.bpm.engine.spring.application.SpringProcessApplication
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected CamundaBpmProperties camundaBpmProperties  
      protected String contextPath  
      protected org.springframework.context.ApplicationEventPublisher eventPublisher  
      protected org.camunda.bpm.engine.ProcessEngine processEngine  
      protected Optional<String> springApplicationName  
      • Fields inherited from class org.camunda.bpm.engine.spring.application.SpringProcessApplication

        applicationContext, beanName, properties
      • Fields inherited from class org.camunda.bpm.application.AbstractProcessApplication

        defaultDeployToEngineName, isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment, variableSerializers
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      static CamundaDeploymentConfiguration deploymentConfiguration()  
      void destroy()  
      void onPostDeploy​(org.camunda.bpm.engine.ProcessEngine processEngine)  
      void onPreUndeploy​(org.camunda.bpm.engine.ProcessEngine processEngine)  
      • Methods inherited from class org.camunda.bpm.engine.spring.application.SpringProcessApplication

        autodetectProcessApplicationName, getApplicationContext, getProperties, getReference, onApplicationEvent, setApplicationContext, setBeanName, setProperties, start, stop
      • Methods inherited from class org.camunda.bpm.application.AbstractProcessApplication

        createDeployment, deploy, execute, execute, getBeanElResolver, getDefaultDeployToEngineName, getElResolver, getEnvironmentScripts, getExecutionListener, getName, getProcessApplicationClassloader, getProcessApplicationScriptEnvironment, getRawObject, getScriptEngineForName, getTaskListener, getVariableSerializers, initProcessApplicationElResolver, setDefaultDeployToEngineName, setVariableSerializers, undeploy
    • Field Detail

      • springApplicationName

        @Value("${spring.application.name:null}")
        protected Optional<String> springApplicationName
      • contextPath

        protected String contextPath
      • processEngine

        @Autowired
        protected org.camunda.bpm.engine.ProcessEngine processEngine
      • eventPublisher

        @Autowired
        protected org.springframework.context.ApplicationEventPublisher eventPublisher
    • Constructor Detail

      • SpringBootProcessApplication

        public SpringBootProcessApplication()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Overrides:
        afterPropertiesSet in class org.camunda.bpm.engine.spring.application.SpringProcessApplication
        Throws:
        Exception
      • destroy

        public void destroy()
                     throws Exception
        Overrides:
        destroy in class org.camunda.bpm.engine.spring.application.SpringProcessApplication
        Throws:
        Exception
      • onPostDeploy

        public void onPostDeploy​(org.camunda.bpm.engine.ProcessEngine processEngine)
      • onPreUndeploy

        public void onPreUndeploy​(org.camunda.bpm.engine.ProcessEngine processEngine)