public interface ResourceInjector
| Modifier and Type | Method and Description |
|---|---|
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.
|
void inject(java.lang.Object resource,
java.lang.Object instance)
throws ResourceInjectionException
resource - instance - ResourceInjectionExceptionvoid injectOnField(java.lang.Object resource,
java.lang.Object instance,
java.lang.reflect.Field field)
throws ResourceInjectionException
resource - instance - field - ResourceInjectionExceptionvoid injectOnMethod(java.lang.Object resource,
java.lang.Object instance,
java.lang.reflect.Method method)
throws ResourceInjectionException
resource - instance - method - ResourceInjectionExceptionvoid injectOnClass(java.lang.Object resource,
java.lang.Object instance,
java.lang.Class clazz)
throws ResourceInjectionException
resource - instance - clazz - ResourceInjectionExceptionCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.