public class ContainerInitializerAnnotationHandler extends Object implements AnnotationParser.DiscoverableAnnotationHandler
Constructor and Description |
---|
ContainerInitializerAnnotationHandler(ContainerInitializer initializer,
Class annotation) |
Modifier and Type | Method and Description |
---|---|
String |
getAnnotationName()
Get the name of the annotation processed by this handler.
|
ContainerInitializer |
getContainerInitializer() |
void |
handleClass(String className,
int version,
int access,
String signature,
String superName,
String[] interfaces,
String annotationName,
List<AnnotationParser.Value> values)
Handle finding a class that is annotated with the annotation we were constructed with.
|
void |
handleField(String className,
String fieldName,
int access,
String fieldType,
String signature,
Object value,
String annotation,
List<AnnotationParser.Value> values)
Process an annotation that was discovered on a field
|
void |
handleMethod(String className,
String methodName,
int access,
String params,
String signature,
String[] exceptions,
String annotation,
List<AnnotationParser.Value> values)
Process an annotation that was discovered on a method
|
public ContainerInitializerAnnotationHandler(ContainerInitializer initializer, Class annotation)
public void handleClass(String className, int version, int access, String signature, String superName, String[] interfaces, String annotationName, List<AnnotationParser.Value> values)
public void handleField(String className, String fieldName, int access, String fieldType, String signature, Object value, String annotation, List<AnnotationParser.Value> values)
AnnotationParser.DiscoverableAnnotationHandler
handleField
in interface AnnotationParser.DiscoverableAnnotationHandler
public void handleMethod(String className, String methodName, int access, String params, String signature, String[] exceptions, String annotation, List<AnnotationParser.Value> values)
AnnotationParser.DiscoverableAnnotationHandler
handleMethod
in interface AnnotationParser.DiscoverableAnnotationHandler
public String getAnnotationName()
AnnotationParser.DiscoverableAnnotationHandler
getAnnotationName
in interface AnnotationParser.DiscoverableAnnotationHandler
public ContainerInitializer getContainerInitializer()
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.