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, beanName, properties
isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment, variableSerializers
Constructor and Description |
---|
SpringServletProcessApplication() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
void |
start() |
autodetectProcessApplicationName, destroy, getApplicationContext, getProperties, getReference, onApplicationEvent, setApplicationContext, setBeanName, setProperties, stop
createDeployment, deploy, execute, execute, getBeanElResolver, getElResolver, getEnvironmentScripts, getExecutionListener, getName, getProcessApplicationClassloader, getProcessApplicationScriptEnvironment, getRawObject, getScriptEngineForName, getTaskListener, getVariableSerializers, initProcessApplicationElResolver, setVariableSerializers, undeploy
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
public void start()
start
in class SpringProcessApplication
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in class SpringProcessApplication
Exception
Copyright © 2017. All rights reserved.