public class ConstructorInjectionPoint<T> extends ForwardingWeldConstructor<T> implements WeldInjectionPoint<T,Constructor<T>>, Serializable
WeldInjectionPoint.WeldInjectionPointSerializationProxy<T,S>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
MAPPED_PARAMETER_ANNOTATIONS
Modifier | Constructor and Description |
---|---|
protected |
ConstructorInjectionPoint(javax.enterprise.inject.spi.Bean<T> declaringBean,
WeldConstructor<T> constructor) |
Modifier and Type | Method and Description |
---|---|
protected WeldConstructor<T> |
delegate() |
boolean |
equals(Object obj) |
javax.enterprise.inject.spi.Annotated |
getAnnotated() |
javax.enterprise.inject.spi.Bean<?> |
getBean() |
Member |
getMember() |
protected Object[] |
getParameterValues(List<ParameterInjectionPoint<?,T>> parameters,
Object specialVal,
Class<? extends Annotation> specialParam,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Helper method for getting the current parameter values from a list of
annotated parameters.
|
Set<Annotation> |
getQualifiers()
Gets the binding types for this element
|
Type |
getType() |
List<ParameterInjectionPoint<?,T>> |
getWeldParameters()
Gets the abstracted parameters of the method
|
int |
hashCode() |
void |
inject(Object declaringInstance,
Object value)
Injects an instance
|
boolean |
isDelegate() |
boolean |
isTransient() |
T |
newInstance(BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext) |
static <T> ConstructorInjectionPoint<T> |
of(javax.enterprise.inject.spi.Bean<T> declaringBean,
WeldConstructor<T> constructor) |
getDeclaringType, getJavaMember, getParameters, getSignature, getWeldParameters, newInstance
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringType
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
protected ConstructorInjectionPoint(javax.enterprise.inject.spi.Bean<T> declaringBean, WeldConstructor<T> constructor)
public static <T> ConstructorInjectionPoint<T> of(javax.enterprise.inject.spi.Bean<T> declaringBean, WeldConstructor<T> constructor)
public boolean equals(Object obj)
equals
in class ForwardingAnnotated
public int hashCode()
hashCode
in class ForwardingAnnotated
protected WeldConstructor<T> delegate()
delegate
in class ForwardingWeldConstructor<T>
public javax.enterprise.inject.spi.Bean<?> getBean()
getBean
in interface javax.enterprise.inject.spi.InjectionPoint
public Set<Annotation> getQualifiers()
WeldAnnotated
getQualifiers
in interface javax.enterprise.inject.spi.InjectionPoint
getQualifiers
in interface WeldAnnotated<T,Constructor<T>>
getQualifiers
in class ForwardingWeldAnnotated<T,Constructor<T>>
public T newInstance(BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
public List<ParameterInjectionPoint<?,T>> getWeldParameters()
WeldCallable
getWeldParameters
in interface WeldCallable<T,T,Constructor<T>>
getWeldParameters
in class ForwardingWeldConstructor<T>
public void inject(Object declaringInstance, Object value)
WeldInjectionPoint
inject
in interface WeldInjectionPoint<T,Constructor<T>>
declaringInstance
- The instance to inject intovalue
- The value to injectprotected Object[] getParameterValues(List<ParameterInjectionPoint<?,T>> parameters, Object specialVal, Class<? extends Annotation> specialParam, BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
parameters
- The list of annotated parameter to look upmanager
- The Bean managerpublic Type getType()
getType
in interface javax.enterprise.inject.spi.InjectionPoint
public Member getMember()
getMember
in interface javax.enterprise.inject.spi.InjectionPoint
public javax.enterprise.inject.spi.Annotated getAnnotated()
getAnnotated
in interface javax.enterprise.inject.spi.InjectionPoint
public boolean isDelegate()
isDelegate
in interface javax.enterprise.inject.spi.InjectionPoint
public boolean isTransient()
isTransient
in interface javax.enterprise.inject.spi.InjectionPoint
Copyright © 2013 Seam Framework. All rights reserved.