Class SpringServletProcessApplication
- java.lang.Object
-
- org.camunda.bpm.application.AbstractProcessApplication
-
- org.camunda.bpm.engine.spring.application.SpringProcessApplication
-
- org.camunda.bpm.engine.spring.application.SpringServletProcessApplication
-
- 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>,org.springframework.web.context.ServletContextAware
public class SpringServletProcessApplication extends SpringProcessApplication implements org.springframework.web.context.ServletContextAware
Process Application to be used in a Spring Web Application.
Requires the spring-web module to be on the classpath
In addition to the services provided by the
SpringProcessApplication, thisProcessApplicationexposes the servlet context path of the web application which it is a part of (seeProcessApplicationInfo.PROP_SERVLET_CONTEXT_PATH).This implementation should be used with Spring Web Applications.
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.servlet.ServletContextservletContext-
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 SpringServletProcessApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voidsetServletContext(javax.servlet.ServletContext servletContext)voidstart()-
Methods inherited from class org.camunda.bpm.engine.spring.application.SpringProcessApplication
autodetectProcessApplicationName, destroy, getApplicationContext, getProperties, getReference, onApplicationEvent, setApplicationContext, setBeanName, setProperties, 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
-
-
-
-
Method Detail
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-
start
public void start()
- Overrides:
startin classSpringProcessApplication
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Overrides:
afterPropertiesSetin classSpringProcessApplication- Throws:
java.lang.Exception
-
-