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(org.eclipse.jetty.plus.annotation.ContainerInitializer initializer, java.lang.Class<?> annotation)Deprecated.ContainerInitializerAnnotationHandler(org.eclipse.jetty.servlet.ServletContainerInitializerHolder holder, java.lang.Class<?> annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.eclipse.jetty.plus.annotation.ContainerInitializergetContainerInitializer()Deprecated.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
@Deprecated public ContainerInitializerAnnotationHandler(org.eclipse.jetty.plus.annotation.ContainerInitializer initializer, java.lang.Class<?> annotation)Deprecated.
-
ContainerInitializerAnnotationHandler
public ContainerInitializerAnnotationHandler(org.eclipse.jetty.servlet.ServletContainerInitializerHolder holder, 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
@Deprecated public org.eclipse.jetty.plus.annotation.ContainerInitializer getContainerInitializer()
Deprecated.
-
-