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
| 从类 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.