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