org.eclipse.jetty.annotations
类 WebListenerAnnotationHandler

java.lang.Object
  继承者 org.eclipse.jetty.annotations.AbstractDiscoverableAnnotationHandler
      继承者 org.eclipse.jetty.annotations.WebListenerAnnotationHandler
所有已实现的接口:
AnnotationParser.DiscoverableAnnotationHandler, AnnotationParser.Handler

public class WebListenerAnnotationHandler
extends AbstractDiscoverableAnnotationHandler


字段摘要
 
从类 org.eclipse.jetty.annotations.AbstractDiscoverableAnnotationHandler 继承的字段
_annotations, _context, _resource
 
构造方法摘要
WebListenerAnnotationHandler(WebAppContext context)
           
WebListenerAnnotationHandler(WebAppContext context, List<DiscoveredAnnotation> list)
           
 
方法摘要
 String getAnnotationName()
          Get the name of the annotation processed by this handler.
 void handleClass(String className, int version, int access, String signature, String superName, String[] interfaces, String annotation, List<AnnotationParser.Value> values)
          Process an annotation that was discovered on a class
 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
 
从类 org.eclipse.jetty.annotations.AbstractDiscoverableAnnotationHandler 继承的方法
addAnnotation, getAnnotationList, getResource, resetList, setResource
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

WebListenerAnnotationHandler

public WebListenerAnnotationHandler(WebAppContext context)

WebListenerAnnotationHandler

public WebListenerAnnotationHandler(WebAppContext context,
                                    List<DiscoveredAnnotation> list)
方法详细信息

handleClass

public void handleClass(String className,
                        int version,
                        int access,
                        String signature,
                        String superName,
                        String[] interfaces,
                        String annotation,
                        List<AnnotationParser.Value> values)
从接口 AnnotationParser.DiscoverableAnnotationHandler 复制的描述
Process an annotation that was discovered on a class

另请参见:
AnnotationParser.DiscoverableAnnotationHandler.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)
从接口 AnnotationParser.DiscoverableAnnotationHandler 复制的描述
Process an annotation that was discovered on a field


handleMethod

public void handleMethod(String className,
                         String methodName,
                         int access,
                         String params,
                         String signature,
                         String[] exceptions,
                         String annotation,
                         List<AnnotationParser.Value> values)
从接口 AnnotationParser.DiscoverableAnnotationHandler 复制的描述
Process an annotation that was discovered on a method


getAnnotationName

public String getAnnotationName()
从接口 AnnotationParser.DiscoverableAnnotationHandler 复制的描述
Get the name of the annotation processed by this handler. Can be null

返回:


Copyright © 2013. All Rights Reserved.