public final class AnnotationInjector extends Object
| Constructor and Description |
|---|
AnnotationInjector()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Field[] |
findFieldsWithAnnotation(Object object,
Class<? extends Annotation> annnotationClass)
Deprecated.
Finds the fields in the class or super class that are annotated with the
annnotationClass annotation.
|
static void |
inject(Object object,
Factory factory)
Deprecated.
Inject ICS runtime objects into the object.
|
public static void inject(Object object, Factory factory)
InjectForRequest annotation will be populated by this method by
retrieving the value from the Factory.getObject(String, Class)
method.object - the object to inject intofactory - the factory that created the objects that need to be
injected.public static Field[] findFieldsWithAnnotation(Object object, Class<? extends Annotation> annnotationClass)
object - the object to inspect.annnotationClass - the annotation to find.Copyright © 2010–2016. All rights reserved.