org.camunda.bpm.engine.spring.application
Class SpringServletProcessApplication

java.lang.Object
  extended by org.camunda.bpm.application.AbstractProcessApplication
      extended by org.camunda.bpm.engine.spring.application.SpringProcessApplication
          extended by org.camunda.bpm.engine.spring.application.SpringServletProcessApplication
All Implemented Interfaces:
ProcessApplicationInterface, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, 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, 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.

Author:
Daniel Meyer

Field Summary
protected  javax.servlet.ServletContext servletContext
           
 
Fields inherited from class org.camunda.bpm.engine.spring.application.SpringProcessApplication
applicationContext, properties
 
Fields inherited from class org.camunda.bpm.application.AbstractProcessApplication
isDeployed, processApplicationBeanElResolver, processApplicationElResolver
 
Constructor Summary
SpringServletProcessApplication()
           
 
Method Summary
 void afterPropertiesSet()
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class org.camunda.bpm.engine.spring.application.SpringProcessApplication
autodetectProcessApplicationName, destroy, getApplicationContext, getProperties, getReference, setApplicationContext, setBeanName, setProperties
 
Methods inherited from class org.camunda.bpm.application.AbstractProcessApplication
createDeployment, deploy, execute, getBeanElResolver, getElResolver, getExecutionListener, getName, getProcessApplicationClassloader, getRawObject, getTaskListener, initProcessApplicationElResolver, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletContext

protected javax.servlet.ServletContext servletContext
Constructor Detail

SpringServletProcessApplication

public SpringServletProcessApplication()
Method Detail

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)
Specified by:
setServletContext in interface org.springframework.web.context.ServletContextAware

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class SpringProcessApplication
Throws:
Exception


Copyright © 2015 camunda services GmbH. All rights reserved.