|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tomee.common.LegacyAnnotationProcessor
public class LegacyAnnotationProcessor
| Field Summary | |
|---|---|
protected Context |
context
|
| Constructor Summary | |
|---|---|
LegacyAnnotationProcessor(Context context)
|
|
| Method Summary | |
|---|---|
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. |
| 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 LegacyAnnotationProcessor(Context context)
| Method Detail |
|---|
public void postConstruct(Object instance)
throws IllegalAccessException,
InvocationTargetException
IllegalAccessException
InvocationTargetException
public void preDestroy(Object instance)
throws IllegalAccessException,
InvocationTargetException
IllegalAccessException
InvocationTargetException
public void processAnnotations(Object instance)
throws IllegalAccessException,
InvocationTargetException,
NamingException
IllegalAccessException
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
InvocationTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||