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
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.
-
-
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 Exception
getServletException(String message)
void
onStartup(Set<Class<?>> c, jakarta.servlet.ServletContext ctx)
-
Methods inherited from class org.camunda.bpm.application.impl.AbstractServletProcessApplicationDeployer
onStartUp
-
-
-
-
Method Detail
-
onStartup
public void onStartup(Set<Class<?>> c, jakarta.servlet.ServletContext ctx) throws jakarta.servlet.ServletException
- Specified by:
onStartup
in interfacejakarta.servlet.ServletContainerInitializer
- Throws:
jakarta.servlet.ServletException
-
getServletException
protected Exception getServletException(String message)
- Specified by:
getServletException
in classAbstractServletProcessApplicationDeployer
-
-