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 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.

  • Constructor Details

    • JakartaServletProcessApplicationDeployer

      public JakartaServletProcessApplicationDeployer()
  • Method Details

    • onStartup

      public void onStartup(Set<Class<?>> c, jakarta.servlet.ServletContext ctx) throws jakarta.servlet.ServletException
      Specified by:
      onStartup in interface jakarta.servlet.ServletContainerInitializer
      Throws:
      jakarta.servlet.ServletException
    • getServletException

      protected Exception getServletException(String message)
      Specified by:
      getServletException in class AbstractServletProcessApplicationDeployer