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:
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 CamundaBpmPropertiescamundaBpmPropertiesprotected StringcontextPathprotected org.springframework.context.ApplicationEventPublishereventPublisherprotected org.camunda.bpm.engine.ProcessEngineprocessEngineprotected Optional<String>springApplicationName
-
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(org.camunda.bpm.engine.ProcessEngine processEngine)voidonPreUndeploy(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
-
camundaBpmProperties
@Autowired protected CamundaBpmProperties camundaBpmProperties
-
processEngine
@Autowired protected org.camunda.bpm.engine.ProcessEngine processEngine
-
eventPublisher
@Autowired protected org.springframework.context.ApplicationEventPublisher eventPublisher
-
-
Method Detail
-
deploymentConfiguration
@Bean public static CamundaDeploymentConfiguration deploymentConfiguration()
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Overrides:
afterPropertiesSetin classorg.camunda.bpm.engine.spring.application.SpringProcessApplication- Throws:
Exception
-
destroy
public void destroy() throws Exception- Overrides:
destroyin classorg.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)
-
-