T - public class ConstructorInjectionPoint<T> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ConstructorInjectionPoint(EnhancedAnnotatedConstructor<T> constructor,
Bean<T> declaringBean,
Class<?> declaringComponentClass,
InjectionPointFactory factory,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AnnotatedConstructor<T> |
getAnnotated() |
Bean<?> |
getBean() |
AnnotatedConstructor<T> |
getComponentConstructor() |
Set<InjectionPoint> |
getInjectionPoints()
Returns a set of
InjectionPoint instances of this constructor/method. |
Member |
getMember() |
List<ParameterInjectionPoint<?,X>> |
getParameterInjectionPoints() |
Object[] |
getParameterValues(BeanManagerImpl manager,
CreationalContext<?> ctx,
CreationalContext<?> invocationContext)
Helper method for getting the current parameter values from a list of annotated parameters.
|
<A extends Annotation> |
getQualifier(Class<A> annotationType)
Returns an instance of a given qualifier annotation or null if a given qualifier is not present on the injection point.
|
Set<Annotation> |
getQualifiers() |
ConstructorSignature |
getSignature() |
Type |
getType() |
int |
hashCode() |
boolean |
isDelegate() |
boolean |
isTransient() |
T |
newInstance(BeanManagerImpl manager,
CreationalContext<?> ctx) |
protected T |
newInstance(Object[] parameterValues) |
String |
toString() |
protected ConstructorInjectionPoint(EnhancedAnnotatedConstructor<T> constructor, Bean<T> declaringBean, Class<?> declaringComponentClass, InjectionPointFactory factory, BeanManagerImpl manager)
public T newInstance(BeanManagerImpl manager, CreationalContext<?> ctx)
public Object[] getParameterValues(BeanManagerImpl manager, CreationalContext<?> ctx, CreationalContext<?> invocationContext)
parameters - The list of annotated parameter to look upmanager - The Bean managerpublic AnnotatedConstructor<T> getAnnotated()
getAnnotated in interface InjectionPointpublic ConstructorSignature getSignature()
public AnnotatedConstructor<T> getComponentConstructor()
public int hashCode()
public boolean equals(Object obj)
public Type getType()
getType in interface InjectionPointpublic Set<Annotation> getQualifiers()
getQualifiers in interface InjectionPointpublic Bean<?> getBean()
getBean in interface InjectionPointpublic boolean isDelegate()
isDelegate in interface InjectionPointpublic boolean isTransient()
isTransient in interface InjectionPointpublic <A extends Annotation> A getQualifier(Class<A> annotationType)
WeldInjectionPointAttributesgetQualifier in interface WeldInjectionPointAttributes<T,S extends Member>public Member getMember()
getMember in interface InjectionPointpublic List<ParameterInjectionPoint<?,X>> getParameterInjectionPoints()
public Set<InjectionPoint> getInjectionPoints()
InjectionPoint instances of this constructor/method. This set never contains a
SpecialParameterInjectionPoint and is therefore suitable for use outside of Weld. The returned set
is immutable.Copyright © 2014. All Rights Reserved.