org.jboss.errai.ioc.rebind.ioc
Class InjectableInstance<T extends Annotation>
java.lang.Object
org.jboss.errai.ioc.rebind.ioc.InjectableInstance<T>
public class InjectableInstance<T extends Annotation>
- extends Object
|
Method Summary |
void |
ensureMemberExposed()
|
T |
getAnnotation()
|
Annotation[] |
getAnnotations(Field field)
|
MetaConstructor |
getConstructor()
|
MetaField |
getField()
|
static
|
getFieldInjectedInstance(T annotation,
MetaField field,
Injector injector,
InjectionContext context)
|
InjectionContext |
getInjectionContext()
|
Injector |
getInjector()
|
String |
getMemberName()
|
MetaMethod |
getMethod()
|
static
|
getMethodInjectedInstance(T annotation,
MetaMethod method,
Injector injector,
InjectionContext context)
|
MetaParameter |
getParm()
|
Annotation[] |
getQualifiers()
|
static
|
getStaticMethodInjectedInstance(T annotation,
MetaMethod method,
Injector injector,
InjectionContext context)
|
TaskType |
getTaskType()
|
MetaClass |
getType()
|
static
|
getTypeInjectedInstance(T annotation,
MetaClass type,
Injector injector,
InjectionContext context)
|
Statement |
getValueStatement()
Returns an instance of a Statement which represents the value associated for injection at this
InjectionPoint. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectableInstance
public InjectableInstance(T annotation,
TaskType taskType,
MetaConstructor constructor,
MetaMethod method,
MetaField field,
MetaClass type,
MetaParameter parm,
Injector injector,
InjectionContext injectionContext)
getTypeInjectedInstance
public static <T extends Annotation> InjectableInstance<T> getTypeInjectedInstance(T annotation,
MetaClass type,
Injector injector,
InjectionContext context)
getMethodInjectedInstance
public static <T extends Annotation> InjectableInstance<T> getMethodInjectedInstance(T annotation,
MetaMethod method,
Injector injector,
InjectionContext context)
getStaticMethodInjectedInstance
public static <T extends Annotation> InjectableInstance<T> getStaticMethodInjectedInstance(T annotation,
MetaMethod method,
Injector injector,
InjectionContext context)
getFieldInjectedInstance
public static <T extends Annotation> InjectableInstance<T> getFieldInjectedInstance(T annotation,
MetaField field,
Injector injector,
InjectionContext context)
getAnnotation
public T getAnnotation()
getConstructor
public MetaConstructor getConstructor()
getTaskType
public TaskType getTaskType()
getMethod
public MetaMethod getMethod()
getField
public MetaField getField()
getType
public MetaClass getType()
getParm
public MetaParameter getParm()
getInjector
public Injector getInjector()
getInjectionContext
public InjectionContext getInjectionContext()
ensureMemberExposed
public void ensureMemberExposed()
getValueStatement
public Statement getValueStatement()
- Returns an instance of a
Statement which represents the value associated for injection at this
InjectionPoint.
- Returns:
getMemberName
public String getMemberName()
getQualifiers
public Annotation[] getQualifiers()
getAnnotations
public Annotation[] getAnnotations(Field field)
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.