Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » util » [javadoc | source]
org.apache.catalina.util
public class: DefaultAnnotationProcessor [javadoc | source]
java.lang.Object
   org.apache.catalina.util.DefaultAnnotationProcessor

All Implemented Interfaces:
    org.apache.AnnotationProcessor

Verify the annotation and Process it.
Field Summary
protected  Context context     
Constructor:
 public DefaultAnnotationProcessor(Context context) 
Method from org.apache.catalina.util.DefaultAnnotationProcessor Summary:
lookupFieldResource,   lookupMethodResource,   postConstruct,   preDestroy,   processAnnotations
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.util.DefaultAnnotationProcessor Detail:
 protected static  void lookupFieldResource(Context context,
    Object instance,
    Field field,
    String name) throws NamingException, IllegalAccessException 
    Inject resources in specified field.
 protected static  void lookupMethodResource(Context context,
    Object instance,
    Method method,
    String name) throws NamingException, InvocationTargetException, IllegalAccessException 
    Inject resources in specified method.
 public  void postConstruct(Object instance) throws InvocationTargetException, IllegalAccessException 
    Call postConstruct method on the specified instance.
 public  void preDestroy(Object instance) throws InvocationTargetException, IllegalAccessException 
    Call preDestroy method on the specified instance.
 public  void processAnnotations(Object instance) throws NamingException, InvocationTargetException, IllegalAccessException 
    Inject resources in specified instance.