Class AnnotationConfiguration.DiscoveredServletContainerInitializerHolder
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.ee10.servlet.BaseHolder<jakarta.servlet.ServletContainerInitializer>
org.eclipse.jetty.ee10.servlet.ServletContainerInitializerHolder
org.eclipse.jetty.ee10.annotations.AnnotationConfiguration.DiscoveredServletContainerInitializerHolder
- Enclosing class:
AnnotationConfiguration
public static class AnnotationConfiguration.DiscoveredServletContainerInitializerHolder
extends ServletContainerInitializerHolder
-
Nested Class Summary
Nested classes/interfaces inherited from class ServletContainerInitializerHolder
ServletContainerInitializerHolder.WrapFunction, ServletContainerInitializerHolder.WrapperNested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
Fields inherited from class ServletContainerInitializerHolder
__pattern, _startupClasses, _startupClassNames -
Constructor Summary
ConstructorsConstructorDescriptionDiscoveredServletContainerInitializerHolder(Source source, jakarta.servlet.ServletContainerInitializer sci, Class<?>... startupClasses) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStartupClasses(Class<?>... clazzes) Classes that are listed in @HandlesTypes and found by the createServletContainerInitializerAnnotationHandlers method.voidaddStartupClasses(String... names) Classes that have annotations that are listed in @HandlesTypes are discovered by the ContainerInitializerAnnotationHandler and added here.Methods inherited from class ServletContainerInitializerHolder
doStart, fromString, toStringMethods inherited from class BaseHolder
createInstance, doStop, dump, dump, getClassName, getHeldClass, getInstance, getServletContext, getServletContextHandler, getServletHandler, getSource, illegalStateIfContextStarted, initialize, isInstance, setClassName, setHeldClass, setInstance, setServletHandler, unwrap, wrapMethods inherited from class AbstractLifeCycle
addEventListener, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop
-
Constructor Details
-
DiscoveredServletContainerInitializerHolder
-
-
Method Details
-
addStartupClasses
Classes that have annotations that are listed in @HandlesTypes are discovered by the ContainerInitializerAnnotationHandler and added here.- Overrides:
addStartupClassesin classServletContainerInitializerHolder- Parameters:
names- of classnames that have an annotation that is listed as a class in HandlesTypes
-
addStartupClasses
Classes that are listed in @HandlesTypes and found by the createServletContainerInitializerAnnotationHandlers method.- Overrides:
addStartupClassesin classServletContainerInitializerHolder- Parameters:
clazzes- classes listed in HandlesTypes
-
resolveStartupClasses
- Overrides:
resolveStartupClassesin classServletContainerInitializerHolder- Throws:
Exception
-