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 ofServletProcessApplication
annotated with theProcessApplication
annotation is deployed. In such an event, we automatically add the class asServletContextListener
to 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 java.lang.Exception
getServletException(java.lang.String message)
void
onStartup(java.util.Set<java.lang.Class<?>> c, javax.servlet.ServletContext ctx)
-
Methods inherited from class org.camunda.bpm.application.impl.AbstractServletProcessApplicationDeployer
onStartUp
-
-
-
-
Method Detail
-
onStartup
public void onStartup(java.util.Set<java.lang.Class<?>> c, javax.servlet.ServletContext ctx) throws javax.servlet.ServletException
- Specified by:
onStartup
in interfacejavax.servlet.ServletContainerInitializer
- Throws:
javax.servlet.ServletException
-
getServletException
protected java.lang.Exception getServletException(java.lang.String message)
- Specified by:
getServletException
in classAbstractServletProcessApplicationDeployer
-
-