Class SpringBootProcessApplication
- java.lang.Object
-
- org.camunda.bpm.application.AbstractProcessApplication
-
- org.camunda.bpm.engine.spring.application.SpringProcessApplication
-
- org.camunda.bpm.spring.boot.starter.SpringBootProcessApplication
-
- All Implemented Interfaces:
java.util.EventListener,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 SpringProcessApplication
-
-
Field Summary
Fields Modifier and Type Field Description protected CamundaBpmPropertiescamundaBpmPropertiesprotected java.lang.StringcontextPathprotected org.springframework.context.ApplicationEventPublishereventPublisherprotected ProcessEngineprocessEngineprotected java.util.Optional<java.lang.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
-
-
Constructor Summary
Constructors Constructor Description SpringBootProcessApplication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()static CamundaDeploymentConfigurationdeploymentConfiguration()voiddestroy()voidonPostDeploy(ProcessEngine processEngine)voidonPreUndeploy(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 java.util.Optional<java.lang.String> springApplicationName
-
contextPath
protected java.lang.String contextPath
-
camundaBpmProperties
@Autowired protected CamundaBpmProperties camundaBpmProperties
-
processEngine
@Autowired protected ProcessEngine processEngine
-
eventPublisher
@Autowired protected org.springframework.context.ApplicationEventPublisher eventPublisher
-
-
Method Detail
-
deploymentConfiguration
@Bean public static CamundaDeploymentConfiguration deploymentConfiguration()
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Overrides:
afterPropertiesSetin classSpringProcessApplication- Throws:
java.lang.Exception
-
destroy
public void destroy() throws java.lang.Exception- Overrides:
destroyin classSpringProcessApplication- Throws:
java.lang.Exception
-
onPostDeploy
public void onPostDeploy(ProcessEngine processEngine)
-
onPreUndeploy
public void onPreUndeploy(ProcessEngine processEngine)
-
-