Package org.eclipse.jetty.annotations
Class ContainerInitializerAnnotationHandler
java.lang.Object
org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
org.eclipse.jetty.annotations.ContainerInitializerAnnotationHandler
- All Implemented Interfaces:
AnnotationParser.Handler
ContainerInitializerAnnotationHandler
Discovers classes that contain the specified annotation, either at class or
method level. The specified annotation is derived from an @HandlesTypes
on
a ServletContainerInitializer class.
-
Constructor Summary
ConstructorDescriptionContainerInitializerAnnotationHandler
(ContainerInitializer initializer, Class<?> annotation) Deprecated.ContainerInitializerAnnotationHandler
(ServletContainerInitializerHolder holder, Class<?> annotation) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.void
handle
(AnnotationParser.ClassInfo info, String annotationName) Handle finding a class that is annotated with the annotation we were constructed with.void
handle
(AnnotationParser.FieldInfo info, String annotationName) Handle finding a field that is annotated with the annotation we were constructed with.void
handle
(AnnotationParser.MethodInfo info, String annotationName) Handle finding a method that is annotated with the annotation we were constructed with.Methods inherited from class org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
handle, handle, handle
-
Constructor Details
-
ContainerInitializerAnnotationHandler
@Deprecated public ContainerInitializerAnnotationHandler(ContainerInitializer initializer, Class<?> annotation) Deprecated. -
ContainerInitializerAnnotationHandler
public ContainerInitializerAnnotationHandler(ServletContainerInitializerHolder holder, Class<?> annotation)
-
-
Method Details
-
handle
Handle finding a class that is annotated with the annotation we were constructed with.- Specified by:
handle
in interfaceAnnotationParser.Handler
- Overrides:
handle
in classAnnotationParser.AbstractHandler
- See Also:
-
handle
Handle finding a field that is annotated with the annotation we were constructed with.- Specified by:
handle
in interfaceAnnotationParser.Handler
- Overrides:
handle
in classAnnotationParser.AbstractHandler
- See Also:
-
handle
Handle finding a method that is annotated with the annotation we were constructed with.- Specified by:
handle
in interfaceAnnotationParser.Handler
- Overrides:
handle
in classAnnotationParser.AbstractHandler
- See Also:
-
getContainerInitializer
Deprecated.
-