org.jboss.weld.injection
Class ParameterInjectionPoint<T,X>

java.lang.Object
  extended by org.jboss.weld.introspector.ForwardingAnnotated<T,S>
      extended by org.jboss.weld.introspector.ForwardingWeldAnnotated<T,java.lang.Object>
          extended by org.jboss.weld.introspector.ForwardingWeldParameter<T,X>
              extended by org.jboss.weld.injection.ParameterInjectionPoint<T,X>
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedParameter<X>, javax.enterprise.inject.spi.InjectionPoint, WeldInjectionPoint<T,java.lang.Object>, WeldAnnotated<T,java.lang.Object>, WeldParameter<T,X>

public class ParameterInjectionPoint<T,X>
extends ForwardingWeldParameter<T,X>
implements WeldInjectionPoint<T,java.lang.Object>


Field Summary
 
Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated
MAPPED_METAANNOTATIONS
 
Method Summary
protected  WeldParameter<T,X> delegate()
           
 javax.enterprise.inject.spi.Annotated getAnnotated()
           
 javax.enterprise.inject.spi.Bean<?> getBean()
           
 java.lang.reflect.Member getJavaMember()
           
 java.lang.reflect.Member getMember()
           
 java.util.Set<java.lang.annotation.Annotation> getQualifiers()
          Gets the binding types for this element
 java.lang.reflect.Type getType()
           
 T getValueToInject(BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
           
 void inject(java.lang.Object declaringInstance, java.lang.Object value)
          Injects an instance
 boolean isDelegate()
           
 boolean isTransient()
           
static
<T,X> ParameterInjectionPoint<T,X>
of(javax.enterprise.inject.spi.Bean<?> declaringBean, WeldParameter<T,X> parameter)
           
 
Methods inherited from class org.jboss.weld.introspector.ForwardingWeldParameter
getDeclaringCallable, getPosition
 
Methods inherited from class org.jboss.weld.introspector.ForwardingWeldAnnotated
getActualTypeArguments, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getPackage, isDeclaredAnnotationPresent, isFinal, isPackagePrivate, isParameterizedType, isPrivate, isProxyable, isPublic, isStatic
 
Methods inherited from class org.jboss.weld.introspector.ForwardingAnnotated
equals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated
getActualTypeArguments, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getPackage, isDeclaredAnnotationPresent, isFinal, isPackagePrivate, isParameterizedType, isPrivate, isProxyable, isPublic, isStatic
 
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
 

Method Detail

of

public static <T,X> ParameterInjectionPoint<T,X> of(javax.enterprise.inject.spi.Bean<?> declaringBean,
                                                    WeldParameter<T,X> parameter)

delegate

protected WeldParameter<T,X> delegate()
Specified by:
delegate in class ForwardingWeldParameter<T,X>

getBean

public javax.enterprise.inject.spi.Bean<?> getBean()
Specified by:
getBean in interface javax.enterprise.inject.spi.InjectionPoint

getQualifiers

public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
Description copied from interface: WeldAnnotated
Gets the binding types for this element

Specified by:
getQualifiers in interface javax.enterprise.inject.spi.InjectionPoint
Specified by:
getQualifiers in interface WeldAnnotated<T,java.lang.Object>
Overrides:
getQualifiers in class ForwardingWeldAnnotated<T,java.lang.Object>

getJavaMember

public java.lang.reflect.Member getJavaMember()

inject

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

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

getValueToInject

public T getValueToInject(BeanManagerImpl manager,
                          javax.enterprise.context.spi.CreationalContext<?> creationalContext)

getAnnotated

public javax.enterprise.inject.spi.Annotated getAnnotated()
Specified by:
getAnnotated in interface javax.enterprise.inject.spi.InjectionPoint

isDelegate

public boolean isDelegate()
Specified by:
isDelegate in interface javax.enterprise.inject.spi.InjectionPoint

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.enterprise.inject.spi.InjectionPoint

getType

public java.lang.reflect.Type getType()
Specified by:
getType in interface javax.enterprise.inject.spi.InjectionPoint

getMember

public java.lang.reflect.Member getMember()
Specified by:
getMember in interface javax.enterprise.inject.spi.InjectionPoint


Copyright © 2008-2009 Seam Framework. All Rights Reserved.