|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceInjector
Method Summary | |
---|---|
void |
inject(java.lang.Object resource,
java.lang.Object instance)
Inject resource on Filed, Method or Class depending on how the @Resource annotation is defined. |
void |
injectOnClass(java.lang.Object resource,
java.lang.Object instance,
java.lang.Class clazz)
Resource will be injection on the class. |
void |
injectOnField(java.lang.Object resource,
java.lang.Object instance,
java.lang.reflect.Field field)
Resource will be injected on the field. |
void |
injectOnMethod(java.lang.Object resource,
java.lang.Object instance,
java.lang.reflect.Method method)
Resource will be injected on the Method. |
Method Detail |
---|
void inject(java.lang.Object resource, java.lang.Object instance) throws ResourceInjectionException
resource
- instance
-
ResourceInjectionException
void injectOnField(java.lang.Object resource, java.lang.Object instance, java.lang.reflect.Field field) throws ResourceInjectionException
resource
- instance
- field
-
ResourceInjectionException
void injectOnMethod(java.lang.Object resource, java.lang.Object instance, java.lang.reflect.Method method) throws ResourceInjectionException
resource
- instance
- method
-
ResourceInjectionException
void injectOnClass(java.lang.Object resource, java.lang.Object instance, java.lang.Class clazz) throws ResourceInjectionException
resource
- instance
- clazz
-
ResourceInjectionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |