Class AnnotationConfiguration.DiscoveredServletContainerInitializerHolder

    • Constructor Detail

      • DiscoveredServletContainerInitializerHolder

        public DiscoveredServletContainerInitializerHolder​(Source source,
                                                           javax.servlet.ServletContainerInitializer sci,
                                                           java.lang.Class<?>... startupClasses)
    • Method Detail

      • addStartupClasses

        public void addStartupClasses​(java.lang.String... names)
        Classes that have annotations that are listed in @HandlesTypes are discovered by the ContainerInitializerAnnotationHandler and added here.
        Overrides:
        addStartupClasses in class ServletContainerInitializerHolder
        Parameters:
        names - of classnames that have an annotation that is listed as a class in HandlesTypes
      • addStartupClasses

        public void addStartupClasses​(java.lang.Class<?>... clazzes)
        Classes that are listed in @HandlesTypes and found by the createServletContainerInitializerAnnotationHandlers method.
        Overrides:
        addStartupClasses in class ServletContainerInitializerHolder
        Parameters:
        clazzes - classes listed in HandlesTypes