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
ConstructorsConstructorDescriptionContainerInitializerAnnotationHandler(ContainerInitializer initializer, Class<?> annotation) Deprecated.ContainerInitializerAnnotationHandler(ServletContainerInitializerHolder holder, Class<?> annotation) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.voidhandle(AnnotationParser.ClassInfo info, String annotationName) Handle finding a class that is annotated with the annotation we were constructed with.voidhandle(AnnotationParser.FieldInfo info, String annotationName) Handle finding a field that is annotated with the annotation we were constructed with.voidhandle(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:
handlein interfaceAnnotationParser.Handler- Overrides:
handlein classAnnotationParser.AbstractHandler- See Also:
-
handle
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:
-
handle
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:
-
getContainerInitializer
Deprecated.
-