org.eclipse.jetty.annotations
类 ResourceAnnotationHandler

java.lang.Object
  继承者 org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler
      继承者 org.eclipse.jetty.annotations.ResourceAnnotationHandler
所有已实现的接口:
AnnotationIntrospector.IntrospectableAnnotationHandler

public class ResourceAnnotationHandler
extends AnnotationIntrospector.AbstractIntrospectableAnnotationHandler


字段摘要
protected  WebAppContext _context
           
 
构造方法摘要
ResourceAnnotationHandler(WebAppContext wac)
           
 
方法摘要
 void doHandle(Class<?> clazz)
          Class level Resource annotations declare a name in the environment that will be looked up at runtime.
 void handleClass(Class<?> clazz)
           
 void handleField(Class<?> clazz, Field field)
           
 void handleMethod(Class<?> clazz, Method method)
          Process a Resource annotation on a Method.
 
从类 org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler 继承的方法
handle
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

_context

protected WebAppContext _context
构造方法详细信息

ResourceAnnotationHandler

public ResourceAnnotationHandler(WebAppContext wac)
方法详细信息

doHandle

public void doHandle(Class<?> clazz)
Class level Resource annotations declare a name in the environment that will be looked up at runtime. They do not specify an injection.

指定者:
AnnotationIntrospector.AbstractIntrospectableAnnotationHandler 中的 doHandle

handleClass

public void handleClass(Class<?> clazz)

handleField

public void handleField(Class<?> clazz,
                        Field field)

handleMethod

public void handleMethod(Class<?> clazz,
                         Method method)
Process a Resource annotation on a Method. This will generate a JNDI entry, and an Injection to be processed when an instance of the class is created.



Copyright © 2013. All Rights Reserved.