Class CCServletContainerIInitializer

java.lang.Object
org.eclnt.jsfserver.util.CCServletContainerIInitializer
All Implemented Interfaces:
jakarta.servlet.ServletContainerInitializer

public class CCServletContainerIInitializer extends Object implements jakarta.servlet.ServletContainerInitializer
Initialization of CC environment. This class comes together with file in META-INF/services/jakarta.servlet.ServletContainerInitializer.

There are three events when the CCInitialize is called...:
1. this class (which should be the earliest point of time...)
2. the CCServletContextListener class
3. the CCFilterBase and CCServletBase classes.

The CCInitialize.initializeCCEnvironment(ServletContext) method is only executed for the first caller, so there is no danger to call it multiple times. But: in general the initialization should be done as early as possible.
  • Constructor Details

    • CCServletContainerIInitializer

      public CCServletContainerIInitializer()
  • Method Details

    • onStartup

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