Package org.camunda.bpm.application.impl
Class ServletProcessApplicationDeployer
java.lang.Object
org.camunda.bpm.application.impl.AbstractServletProcessApplicationDeployer
org.camunda.bpm.application.impl.ServletProcessApplicationDeployer
- All Implemented Interfaces:
javax.servlet.ServletContainerInitializer
public class ServletProcessApplicationDeployer
extends AbstractServletProcessApplicationDeployer
implements javax.servlet.ServletContainerInitializer
This class is an implementation of ServletContainerInitializer
and
is notified whenever a subclass of ServletProcessApplication
annotated
with the ProcessApplication
annotation is deployed. In such an event,
we automatically add the class as ServletContextListener
to the
ServletContext
.
NOTE: Only works with Servlet 3.0 or better.
- Author:
- Daniel Meyer
-
Field Summary
Fields inherited from class org.camunda.bpm.application.impl.AbstractServletProcessApplicationDeployer
LOG
-
Constructor Summary
-
Method Summary
Methods inherited from class org.camunda.bpm.application.impl.AbstractServletProcessApplicationDeployer
onStartUp
-
Constructor Details
-
ServletProcessApplicationDeployer
public ServletProcessApplicationDeployer()
-
-
Method Details
-
onStartup
public void onStartup(Set<Class<?>> c, javax.servlet.ServletContext ctx) throws javax.servlet.ServletException - Specified by:
onStartup
in interfacejavax.servlet.ServletContainerInitializer
- Throws:
javax.servlet.ServletException
-
getServletException
- Specified by:
getServletException
in classAbstractServletProcessApplicationDeployer
-