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
ServletContainerInitializerand is notified whenever a subclass ofServletProcessApplicationannotated with theProcessApplicationannotation is deployed. In such an event, we automatically add the class asServletContextListenerto theServletContext.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
Constructors Constructor Description ServletProcessApplicationDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExceptiongetServletException(String message)voidonStartup(Set<Class<?>> c, javax.servlet.ServletContext ctx)-
Methods inherited from class org.camunda.bpm.application.impl.AbstractServletProcessApplicationDeployer
onStartUp
-
-
-
-
Method Detail
-
onStartup
public void onStartup(Set<Class<?>> c, javax.servlet.ServletContext ctx) throws javax.servlet.ServletException
- Specified by:
onStartupin interfacejavax.servlet.ServletContainerInitializer- Throws:
javax.servlet.ServletException
-
getServletException
protected Exception getServletException(String message)
- Specified by:
getServletExceptionin classAbstractServletProcessApplicationDeployer
-
-