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
,
this ProcessApplication
exposes the servlet context path of the web application
which it is a part of (see ProcessApplicationInfo.PROP_SERVLET_CONTEXT_PATH
).
This implementation should be used with Spring Web Applications.
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.ServletContext |
servletContext |
applicationContext, properties
isDeployed, processApplicationElResolver
Constructor and Description |
---|
SpringServletProcessApplication() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
autodetectProcessApplicationName, destroy, getApplicationContext, getProperties, getReference, setApplicationContext, setBeanName, setProperties
createDeployment, deploy, execute, getElResolver, getExecutionListener, getName, getProcessApplicationClassloader, getRawObject, getTaskListener, initProcessApplicationElResolver, undeploy
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class SpringProcessApplication
Exception
Copyright © 2015. All rights reserved.