public class ContainerInitializerAnnotationHandler extends 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 and Description |
---|
ContainerInitializerAnnotationHandler(ContainerInitializer initializer,
Class annotation) |
Modifier and Type | Method and Description |
---|---|
ContainerInitializer |
getContainerInitializer() |
void |
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.
|
handle, handle, handle
public ContainerInitializerAnnotationHandler(ContainerInitializer initializer, Class annotation)
public void handle(AnnotationParser.ClassInfo info, String annotationName)
handle
in interface AnnotationParser.Handler
handle
in class AnnotationParser.AbstractHandler
AnnotationParser.Handler.handle(org.eclipse.jetty.annotations.AnnotationParser.ClassInfo, String)
public void handle(AnnotationParser.FieldInfo info, String annotationName)
handle
in interface AnnotationParser.Handler
handle
in class AnnotationParser.AbstractHandler
AnnotationParser.Handler.handle(org.eclipse.jetty.annotations.AnnotationParser.FieldInfo, String)
public void handle(AnnotationParser.MethodInfo info, String annotationName)
handle
in interface AnnotationParser.Handler
handle
in class AnnotationParser.AbstractHandler
AnnotationParser.Handler.handle(org.eclipse.jetty.annotations.AnnotationParser.MethodInfo, String)
public ContainerInitializer getContainerInitializer()
Copyright © 1995–2017 Webtide. All rights reserved.