Class ContainerInitializerAnnotationHandler
java.lang.Object
org.eclipse.jetty.ee10.annotations.AnnotationParser.AbstractHandler
org.eclipse.jetty.ee10.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
(ServletContainerInitializerHolder holder, Class<?> annotation) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.ee10.annotations.AnnotationParser.AbstractHandler
handle, handle, handle
-
Constructor Details
-
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:
-