org.eclipse.jetty.annotations
Class DeclareRolesAnnotationHandler

java.lang.Object
  extended by org.eclipse.jetty.annotations.DeclareRolesAnnotationHandler
All Implemented Interfaces:
AnnotationParser.AnnotationHandler

public class DeclareRolesAnnotationHandler
extends Object
implements AnnotationParser.AnnotationHandler


Field Summary
protected  WebAppContext _wac
           
 
Constructor Summary
DeclareRolesAnnotationHandler(WebAppContext wac)
           
 
Method Summary
 void handleClass(String className, int version, int access, String signature, String superName, String[] interfaces, String annotation, List<AnnotationParser.Value> values)
          A DeclareRoles annotation is equivalent to a in web.xml.
 void handleField(String className, String fieldName, int access, String fieldType, String signature, Object value, String annotation, List<AnnotationParser.Value> values)
           
 void handleMethod(String className, String methodName, int access, String desc, String signature, String[] exceptions, String annotation, List<AnnotationParser.Value> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_wac

protected WebAppContext _wac
Constructor Detail

DeclareRolesAnnotationHandler

public DeclareRolesAnnotationHandler(WebAppContext wac)
Method Detail

handleClass

public void handleClass(String className,
                        int version,
                        int access,
                        String signature,
                        String superName,
                        String[] interfaces,
                        String annotation,
                        List<AnnotationParser.Value> values)
A DeclareRoles annotation is equivalent to a in web.xml.

Specified by:
handleClass in interface AnnotationParser.AnnotationHandler
See Also:
AnnotationParser.AnnotationHandler.handleClass(java.lang.String, int, int, java.lang.String, java.lang.String, java.lang.String[], java.lang.String, java.util.List)

handleField

public void handleField(String className,
                        String fieldName,
                        int access,
                        String fieldType,
                        String signature,
                        Object value,
                        String annotation,
                        List<AnnotationParser.Value> values)
Specified by:
handleField in interface AnnotationParser.AnnotationHandler

handleMethod

public void handleMethod(String className,
                         String methodName,
                         int access,
                         String desc,
                         String signature,
                         String[] exceptions,
                         String annotation,
                         List<AnnotationParser.Value> values)
Specified by:
handleMethod in interface AnnotationParser.AnnotationHandler


Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.