Package javax.servlet

Interface ServletContainerInitializer

    • Method Detail

      • onStartup

        void onStartup​(Set<Class<?>> classes,
                       ServletContext servletContext)
                throws ServletException
        Notify the initializer upon startup.
        Parameters:
        classes - the classes to inspect.
        servletContext - the servlet context.
        Throws:
        ServletException - when a servlet error occurs.