T - public class ConstructorInjectionPoint<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasTransientReferenceParameter |
| Modifier | Constructor and Description |
|---|---|
protected |
ConstructorInjectionPoint(EnhancedAnnotatedConstructor<T> constructor,
javax.enterprise.inject.spi.Bean<T> declaringBean,
Class<?> declaringComponentClass,
InjectionPointFactory factory,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
javax.enterprise.inject.spi.AnnotatedConstructor<T> |
getAnnotated() |
javax.enterprise.inject.spi.Bean<?> |
getBean() |
javax.enterprise.inject.spi.AnnotatedConstructor<T> |
getComponentConstructor() |
Set<javax.enterprise.inject.spi.InjectionPoint> |
getInjectionPoints()
Returns a set of
InjectionPoint instances of this constructor/method. |
Member |
getMember() |
List<ParameterInjectionPoint<?,X>> |
getParameterInjectionPoints() |
Object[] |
getParameterValues(BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> ctx,
javax.enterprise.context.spi.CreationalContext<?> transientReference)
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,
javax.enterprise.context.spi.CreationalContext<?> ctx) |
protected T |
newInstance(Object[] parameterValues) |
String |
toString() |
protected ConstructorInjectionPoint(EnhancedAnnotatedConstructor<T> constructor, javax.enterprise.inject.spi.Bean<T> declaringBean, Class<?> declaringComponentClass, InjectionPointFactory factory, BeanManagerImpl manager)
public T newInstance(BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> ctx)
public Object[] getParameterValues(BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> ctx, javax.enterprise.context.spi.CreationalContext<?> transientReference)
parameters - The list of annotated parameter to look upmanager - The Bean managerpublic javax.enterprise.inject.spi.AnnotatedConstructor<T> getAnnotated()
getAnnotated in interface javax.enterprise.inject.spi.InjectionPointpublic ConstructorSignature getSignature()
public javax.enterprise.inject.spi.AnnotatedConstructor<T> getComponentConstructor()
public int hashCode()
public boolean equals(Object obj)
public Type getType()
getType in interface javax.enterprise.inject.spi.InjectionPointpublic Set<Annotation> getQualifiers()
getQualifiers in interface javax.enterprise.inject.spi.InjectionPointpublic javax.enterprise.inject.spi.Bean<?> getBean()
getBean in interface javax.enterprise.inject.spi.InjectionPointpublic boolean isDelegate()
isDelegate in interface javax.enterprise.inject.spi.InjectionPointpublic boolean isTransient()
isTransient in interface javax.enterprise.inject.spi.InjectionPointpublic <A extends Annotation> A getQualifier(Class<A> annotationType)
WeldInjectionPointAttributesgetQualifier in interface WeldInjectionPointAttributes<T,S extends Member>public Member getMember()
getMember in interface javax.enterprise.inject.spi.InjectionPointpublic List<ParameterInjectionPoint<?,X>> getParameterInjectionPoints()
public Set<javax.enterprise.inject.spi.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 © 2017. All rights reserved.