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

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

public class ParameterInjectionPoint<T,X>
extends ForwardingWeldParameter<T,X>
implements WeldInjectionPoint<T,Object>, Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.weld.injection.WeldInjectionPoint
WeldInjectionPoint.WeldInjectionPointSerializationProxy<T,S>
 
Field Summary
 
Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
 
Method Summary
protected  WeldParameter<T,X> delegate()
           
 boolean equals(Object obj)
           
 javax.enterprise.inject.spi.Annotated getAnnotated()
           
 javax.enterprise.inject.spi.Bean<?> getBean()
           
 Member getJavaMember()
           
 Member getMember()
           
 Set<Annotation> getQualifiers()
          Gets the binding types for this element
 Type getType()
           
 T getValueToInject(BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
           
 int hashCode()
           
 void inject(Object declaringInstance, 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, getDeclaringType, getDeclaringWeldCallable, getPosition
 
Methods inherited from class org.jboss.weld.introspector.ForwardingWeldAnnotated
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
 
Methods inherited from class org.jboss.weld.introspector.ForwardingAnnotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.weld.injection.WeldInjectionPoint
getDeclaringType
 
Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, 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)

equals

public boolean equals(Object obj)
Overrides:
equals in class ForwardingAnnotated

hashCode

public int hashCode()
Overrides:
hashCode in class ForwardingAnnotated

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 Set<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,Object>
Overrides:
getQualifiers in class ForwardingWeldAnnotated<T,Object>

getJavaMember

public Member getJavaMember()

inject

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

Specified by:
inject in interface WeldInjectionPoint<T,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 Type getType()
Specified by:
getType in interface javax.enterprise.inject.spi.InjectionPoint

getMember

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


Copyright © 2013 Seam Framework. All Rights Reserved.