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
,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 CamundaBpmProperties
camundaBpmProperties
protected String
contextPath
protected org.springframework.context.ApplicationEventPublisher
eventPublisher
protected 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
-
-
Constructor Summary
Constructors Constructor Description SpringBootProcessApplication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
static CamundaDeploymentConfiguration
deploymentConfiguration()
void
destroy()
void
onPostDeploy(ProcessEngine processEngine)
void
onPreUndeploy(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 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:
afterPropertiesSet
in classSpringProcessApplication
- Throws:
Exception
-
destroy
public void destroy() throws Exception
- Overrides:
destroy
in classSpringProcessApplication
- Throws:
Exception
-
onPostDeploy
public void onPostDeploy(ProcessEngine processEngine)
-
onPreUndeploy
public void onPreUndeploy(ProcessEngine processEngine)
-
-