public class InjectableInstance<T extends Annotation> extends InjectionPoint<T>
annotation, constructor, field, injectionContext, injector, method, parm, taskType, type
Constructor and Description |
---|
InjectableInstance(T annotation,
TaskType taskType,
MetaConstructor constructor,
MetaMethod method,
MetaField field,
MetaClass type,
MetaParameter parm,
Injector injector,
InjectionContext injectionContext) |
ensureMemberExposed, ensureMemberExposed, getAnnotation, getAnnotation, getAnnotations, getConstructor, getElementType, getElementTypeOrMethodReturnType, getEnclosingType, getField, getInjectionContext, getInjector, getMemberName, getMethod, getParm, getQualifiers, getQualifyingMetadata, getRawAnnotation, getTaskType, isAnnotationPresent, isProxy
public InjectableInstance(T annotation, TaskType taskType, MetaConstructor constructor, MetaMethod method, MetaField field, MetaClass type, MetaParameter parm, Injector injector, InjectionContext injectionContext)
public static <T extends Annotation> InjectableInstance<T> getInjectedInstance(T annotation, MetaClass type, Injector injector, InjectionContext context)
public static <T extends Annotation> InjectableInstance<T> getMethodInjectedInstance(MetaMethod method, Injector injector, InjectionContext context)
public static <T extends Annotation> InjectableInstance<T> getParameterInjectedInstance(MetaParameter parm, Injector injector, InjectionContext context)
public static <T extends Annotation> InjectableInstance<T> getFieldInjectedInstance(MetaField field, Injector injector, InjectionContext context)
public void addTransientValue(String name, Class type, Statement valueRef)
public boolean hasAnyUnsatified()
public boolean hasUnsatisfiedTransientValue(String name, MetaClass type)
public Statement getValueStatement()
Statement
which represents the value associated for injection at this
InjectionPoint. This statement may represent a raw field access, a method call to a getter method, or an
internalized variable in the bootstrapper which is holding the value.public Injector getTargetInjector()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.