Class 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 Detail

      • JakartaServletProcessApplicationDeployer

        public JakartaServletProcessApplicationDeployer()
    • Method Detail

      • 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