Package org.camunda.bpm.application.impl
Class JakartaServletProcessApplicationDeployer
- java.lang.Object
-
- org.camunda.bpm.application.impl.AbstractServletProcessApplicationDeployer
-
- org.camunda.bpm.application.impl.JakartaServletProcessApplicationDeployer
-
- All Implemented Interfaces:
jakarta.servlet.ServletContainerInitializer
public class JakartaServletProcessApplicationDeployer extends AbstractServletProcessApplicationDeployer implements jakarta.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.
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.application.impl.AbstractServletProcessApplicationDeployer
LOG
-
-
Constructor Summary
Constructors Constructor Description JakartaServletProcessApplicationDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ExceptiongetServletException(java.lang.String message)voidonStartup(java.util.Set<java.lang.Class<?>> c, jakarta.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, jakarta.servlet.ServletContext ctx) throws jakarta.servlet.ServletException- Specified by:
onStartupin interfacejakarta.servlet.ServletContainerInitializer- Throws:
jakarta.servlet.ServletException
-
getServletException
protected java.lang.Exception getServletException(java.lang.String message)
- Specified by:
getServletExceptionin classAbstractServletProcessApplicationDeployer
-
-