Class ContainerInitializerAnnotationHandler
java.lang.Object
org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
org.eclipse.jetty.ee11.annotations.ContainerInitializerAnnotationHandler
- All Implemented Interfaces:
org.eclipse.jetty.annotations.AnnotationParser.Handler
public class ContainerInitializerAnnotationHandler
extends org.eclipse.jetty.annotations.AnnotationParser.AbstractHandler
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
ConstructorsConstructorDescriptionContainerInitializerAnnotationHandler(org.eclipse.jetty.ee11.servlet.ServletContainerInitializerHolder holder, Class<?> annotation) -
Method Summary
Modifier and TypeMethodDescriptionvoidHandle finding a class that is annotated with the annotation we were constructed with.voidHandle finding a field that is annotated with the annotation we were constructed with.voidHandle 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
public ContainerInitializerAnnotationHandler(org.eclipse.jetty.ee11.servlet.ServletContainerInitializerHolder holder, Class<?> annotation)
-
-
Method Details
-
handle
public void handle(org.eclipse.jetty.annotations.AnnotationParser.ClassInfo info, String annotationName) Handle finding a class that is annotated with the annotation we were constructed with.- Specified by:
handlein interfaceorg.eclipse.jetty.annotations.AnnotationParser.Handler- Overrides:
handlein classorg.eclipse.jetty.annotations.AnnotationParser.AbstractHandler- See Also:
-
handle
public void handle(org.eclipse.jetty.annotations.AnnotationParser.FieldInfo info, String annotationName) Handle finding a field that is annotated with the annotation we were constructed with.- Specified by:
handlein interfaceorg.eclipse.jetty.annotations.AnnotationParser.Handler- Overrides:
handlein classorg.eclipse.jetty.annotations.AnnotationParser.AbstractHandler- See Also:
-
handle
public void handle(org.eclipse.jetty.annotations.AnnotationParser.MethodInfo info, String annotationName) Handle finding a method that is annotated with the annotation we were constructed with.- Specified by:
handlein interfaceorg.eclipse.jetty.annotations.AnnotationParser.Handler- Overrides:
handlein classorg.eclipse.jetty.annotations.AnnotationParser.AbstractHandler- See Also:
-