|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.introspector.ForwardingAnnotatedItem<T,java.lang.Object>
org.jboss.webbeans.introspector.ForwardingAnnotatedParameter<T>
org.jboss.webbeans.injection.ParameterInjectionPoint<T>
public class ParameterInjectionPoint<T>
Field Summary |
---|
Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
---|
MAPPED_METAANNOTATIONS |
Method Summary | ||
---|---|---|
protected AnnotatedParameter<T> |
delegate()
Gets the annotated item |
|
java.lang.annotation.Annotation[] |
getAnnotations()
Get the annotations of the field in the case of field injection, or annotations of the parameter in the case of method parameter or constructor parameter injection. |
|
Bean<?> |
getBean()
Get the Bean object representing the Web Bean that defines the injection point |
|
java.util.Set<java.lang.annotation.Annotation> |
getBindings()
Gets the binding types for this element |
|
java.lang.reflect.Member |
getMember()
Get the Field object in the case of field injection, the Method object in the case of method parameter injection or the Constructor object in the case of constructor parameter injection. |
|
T |
getValueToInject(ManagerImpl manager,
CreationalContext<?> creationalContext)
|
|
void |
inject(java.lang.Object declaringInstance,
java.lang.Object value)
Injects an instance |
|
static
|
of(Bean<?> declaringBean,
AnnotatedParameter<T> parameter)
|
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedParameter |
---|
getDeclaringMember, getValue |
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedItem |
---|
equals, getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getRawType, getType, hashCode, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isParameterizedType, isProxyable, isPublic, isStatic, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.inject.manager.InjectionPoint |
---|
getAnnotation, getType, isAnnotationPresent |
Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
---|
getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getRawType, getType, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isParameterizedType, isProxyable, isPublic, isStatic |
Method Detail |
---|
public static <T> ParameterInjectionPoint<T> of(Bean<?> declaringBean, AnnotatedParameter<T> parameter)
protected AnnotatedParameter<T> delegate()
ForwardingAnnotatedItem
delegate
in class ForwardingAnnotatedParameter<T>
public java.lang.annotation.Annotation[] getAnnotations()
InjectionPoint
getAnnotations
in interface InjectionPoint
public Bean<?> getBean()
InjectionPoint
getBean
in interface InjectionPoint
public java.util.Set<java.lang.annotation.Annotation> getBindings()
AnnotatedItem
getBindings
in interface InjectionPoint
getBindings
in interface AnnotatedItem<T,java.lang.Object>
getBindings
in class ForwardingAnnotatedItem<T,java.lang.Object>
AnnotatedItem
public java.lang.reflect.Member getMember()
InjectionPoint
getMember
in interface InjectionPoint
public void inject(java.lang.Object declaringInstance, java.lang.Object value)
AnnotatedInjectionPoint
inject
in interface AnnotatedInjectionPoint<T,java.lang.Object>
declaringInstance
- The instance to inject intovalue
- The value to injectpublic T getValueToInject(ManagerImpl manager, CreationalContext<?> creationalContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |