org.jboss.webbeans.injection
Class ParameterInjectionPoint<T>

java.lang.Object
  extended by org.jboss.webbeans.introspector.ForwardingAnnotatedItem<T,java.lang.Object>
      extended by org.jboss.webbeans.introspector.ForwardingAnnotatedParameter<T>
          extended by org.jboss.webbeans.injection.ParameterInjectionPoint<T>
All Implemented Interfaces:
InjectionPoint, AnnotatedInjectionPoint<T,java.lang.Object>, AnnotatedItem<T,java.lang.Object>, AnnotatedParameter<T>

public class ParameterInjectionPoint<T>
extends ForwardingAnnotatedParameter<T>
implements AnnotatedInjectionPoint<T,java.lang.Object>


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()
           
 Bean<?> getBean()
           
 java.util.Set<java.lang.annotation.Annotation> getBindings()
           
 java.lang.reflect.Member getMember()
           
 T getValueToInject(ManagerImpl manager, CreationalContext<?> creationalContext)
           
 void inject(java.lang.Object declaringInstance, java.lang.Object value)
          Injects an instance
static
<T> ParameterInjectionPoint<T>
of(Bean<?> declaringBean, AnnotatedParameter<T> parameter)
           
 
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedParameter
getDeclaringMember, getValue, wrap
 
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedItem
equals, getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindingTypes, getBindingTypesAsArray, getDeclaredMetaAnnotations, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getType, hashCode, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, 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, getBindingTypes, getBindingTypesAsArray, getDeclaredMetaAnnotations, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getType, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isProxyable, isPublic, isStatic
 

Method Detail

of

public static <T> ParameterInjectionPoint<T> of(Bean<?> declaringBean,
                                                AnnotatedParameter<T> parameter)

delegate

protected AnnotatedParameter<T> delegate()
Description copied from class: ForwardingAnnotatedItem
Gets the annotated item

Specified by:
delegate in class ForwardingAnnotatedParameter<T>
Returns:
The annotated item

getAnnotations

public java.lang.annotation.Annotation[] getAnnotations()
Specified by:
getAnnotations in interface InjectionPoint

getBean

public Bean<?> getBean()
Specified by:
getBean in interface InjectionPoint

getBindings

public java.util.Set<java.lang.annotation.Annotation> getBindings()
Specified by:
getBindings in interface InjectionPoint

getMember

public java.lang.reflect.Member getMember()
Specified by:
getMember in interface InjectionPoint

inject

public void inject(java.lang.Object declaringInstance,
                   java.lang.Object value)
Description copied from interface: AnnotatedInjectionPoint
Injects an instance

Specified by:
inject in interface AnnotatedInjectionPoint<T,java.lang.Object>
Parameters:
declaringInstance - The instance to inject into
value - The value to inject

getValueToInject

public T getValueToInject(ManagerImpl manager,
                          CreationalContext<?> creationalContext)


Copyright © 2008-2009. All Rights Reserved.