|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.util.DefaultAnnotationProcessor
public class DefaultAnnotationProcessor
Verify the annotation and Process it.
Field Summary | |
---|---|
protected javax.naming.Context |
context
|
Constructor Summary | |
---|---|
DefaultAnnotationProcessor(javax.naming.Context context)
|
Method Summary | |
---|---|
protected static void |
lookupFieldResource(javax.naming.Context context,
java.lang.Object instance,
java.lang.reflect.Field field,
java.lang.String name,
java.lang.Class<?> clazz)
Inject resources in specified field. |
protected static void |
lookupMethodResource(javax.naming.Context context,
java.lang.Object instance,
java.lang.reflect.Method method,
java.lang.String name,
java.lang.Class<?> clazz)
Inject resources in specified method. |
void |
postConstruct(java.lang.Object instance)
Call postConstruct method on the specified instance. |
void |
preDestroy(java.lang.Object instance)
Call preDestroy method on the specified instance. |
void |
processAnnotations(java.lang.Object instance)
Inject resources in specified instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.naming.Context context
Constructor Detail |
---|
public DefaultAnnotationProcessor(javax.naming.Context context)
Method Detail |
---|
public void postConstruct(java.lang.Object instance) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
postConstruct
in interface AnnotationProcessor
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void preDestroy(java.lang.Object instance) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
preDestroy
in interface AnnotationProcessor
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void processAnnotations(java.lang.Object instance) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException
processAnnotations
in interface AnnotationProcessor
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
protected static void lookupFieldResource(javax.naming.Context context, java.lang.Object instance, java.lang.reflect.Field field, java.lang.String name, java.lang.Class<?> clazz) throws javax.naming.NamingException, java.lang.IllegalAccessException
javax.naming.NamingException
java.lang.IllegalAccessException
protected static void lookupMethodResource(javax.naming.Context context, java.lang.Object instance, java.lang.reflect.Method method, java.lang.String name, java.lang.Class<?> clazz) throws javax.naming.NamingException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
javax.naming.NamingException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |