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
public class ContainerInitializerAnnotationHandler extends AnnotationParser.AbstractHandler
ContainerInitializerAnnotationHandlerDiscovers classes that contain the specified annotation, either at class or method level. The specified annotation is derived from an
@HandlesTypeson a ServletContainerInitializer class.
-
-
Constructor Summary
Constructors Constructor Description ContainerInitializerAnnotationHandler(ContainerInitializer initializer, java.lang.Class annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerInitializergetContainerInitializer()voidhandle(AnnotationParser.ClassInfo info, java.lang.String annotationName)Handle finding a class that is annotated with the annotation we were constructed with.voidhandle(AnnotationParser.FieldInfo info, java.lang.String annotationName)Handle finding a field that is annotated with the annotation we were constructed with.voidhandle(AnnotationParser.MethodInfo info, java.lang.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 Detail
-
ContainerInitializerAnnotationHandler
public ContainerInitializerAnnotationHandler(ContainerInitializer initializer, java.lang.Class annotation)
-
-
Method Detail
-
handle
public void handle(AnnotationParser.ClassInfo info, java.lang.String annotationName)
Handle finding a class that is annotated with the annotation we were constructed with.- Specified by:
handlein interfaceAnnotationParser.Handler- Overrides:
handlein classAnnotationParser.AbstractHandler- See Also:
AnnotationParser.Handler.handle(org.eclipse.jetty.annotations.AnnotationParser.ClassInfo, String)
-
handle
public void handle(AnnotationParser.FieldInfo info, java.lang.String annotationName)
Handle finding a field that is annotated with the annotation we were constructed with.- Specified by:
handlein interfaceAnnotationParser.Handler- Overrides:
handlein classAnnotationParser.AbstractHandler- See Also:
AnnotationParser.Handler.handle(org.eclipse.jetty.annotations.AnnotationParser.FieldInfo, String)
-
handle
public void handle(AnnotationParser.MethodInfo info, java.lang.String annotationName)
Handle finding a method that is annotated with the annotation we were constructed with.- Specified by:
handlein interfaceAnnotationParser.Handler- Overrides:
handlein classAnnotationParser.AbstractHandler- See Also:
AnnotationParser.Handler.handle(org.eclipse.jetty.annotations.AnnotationParser.MethodInfo, String)
-
getContainerInitializer
public ContainerInitializer getContainerInitializer()
-
-