public class WebServletAnnotationHandler extends AbstractDiscoverableAnnotationHandler
_annotations, _context, _resource| Constructor and Description |
|---|
WebServletAnnotationHandler(WebAppContext context) |
WebServletAnnotationHandler(WebAppContext context,
java.util.List<DiscoveredAnnotation> list) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAnnotationName()
Get the name of the annotation processed by this handler.
|
void |
handleClass(java.lang.String className,
int version,
int access,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces,
java.lang.String annotationName,
java.util.List<AnnotationParser.Value> values)
Handle discovering a WebServlet annotation.
|
void |
handleField(java.lang.String className,
java.lang.String fieldName,
int access,
java.lang.String fieldType,
java.lang.String signature,
java.lang.Object value,
java.lang.String annotation,
java.util.List<AnnotationParser.Value> values)
Process an annotation that was discovered on a field
|
void |
handleMethod(java.lang.String className,
java.lang.String methodName,
int access,
java.lang.String params,
java.lang.String signature,
java.lang.String[] exceptions,
java.lang.String annotation,
java.util.List<AnnotationParser.Value> values)
Process an annotation that was discovered on a method
|
addAnnotation, getAnnotationList, getResource, resetList, setResourcepublic WebServletAnnotationHandler(WebAppContext context)
public WebServletAnnotationHandler(WebAppContext context, java.util.List<DiscoveredAnnotation> list)
public void handleClass(java.lang.String className,
int version,
int access,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces,
java.lang.String annotationName,
java.util.List<AnnotationParser.Value> values)
public void handleField(java.lang.String className,
java.lang.String fieldName,
int access,
java.lang.String fieldType,
java.lang.String signature,
java.lang.Object value,
java.lang.String annotation,
java.util.List<AnnotationParser.Value> values)
AnnotationParser.DiscoverableAnnotationHandlerpublic void handleMethod(java.lang.String className,
java.lang.String methodName,
int access,
java.lang.String params,
java.lang.String signature,
java.lang.String[] exceptions,
java.lang.String annotation,
java.util.List<AnnotationParser.Value> values)
AnnotationParser.DiscoverableAnnotationHandlerpublic java.lang.String getAnnotationName()
AnnotationParser.DiscoverableAnnotationHandlerCopyright © 2013 FuseSource, Corp.. All Rights Reserved.