public class ProxyClassConstructorInjectionPointWrapper<T> extends ConstructorInjectionPoint<T>
ConstructorInjectionPoint, to be used if a proxy subclass is instantiated instead of the
original (e.g. because the original is an abstract Decorator)
This class is immutable.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasTransientReferenceParameter |
| Constructor and Description |
|---|
ProxyClassConstructorInjectionPointWrapper(Bean<T> declaringBean,
Class<?> declaringComponentClass,
EnhancedAnnotatedConstructor<T> weldConstructor,
ConstructorInjectionPoint<T> originalConstructorInjectionPoint,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Bean<?> |
getBean()
Get the
Bean object representing the bean that defines the injection point. |
AnnotatedConstructor<T> |
getComponentConstructor() |
Set<InjectionPoint> |
getInjectionPoints()
Returns a set of
InjectionPoint instances of this constructor/method. |
Member |
getMember()
Get the
Field object in the case of field injection, the Method
object in the case of method parameter injection or the Constructor object in the case of
constructor parameter injection. |
List<ParameterInjectionPoint<?,T>> |
getParameterInjectionPoints() |
<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()
Get the required qualifiers of the injection point.
|
Type |
getType()
Get the required type of injection point.
|
int |
hashCode() |
boolean |
isDelegate()
Determines if the injection point is a decorator delegate injection point.
|
boolean |
isTransient()
Determines if the injection is a transient field.
|
protected T |
newInstance(Object[] parameterValues) |
String |
toString() |
getAnnotated, getParameterValues, getSignature, newInstancepublic ProxyClassConstructorInjectionPointWrapper(Bean<T> declaringBean, Class<?> declaringComponentClass, EnhancedAnnotatedConstructor<T> weldConstructor, ConstructorInjectionPoint<T> originalConstructorInjectionPoint, BeanManagerImpl manager)
public List<ParameterInjectionPoint<?,T>> getParameterInjectionPoints()
protected T newInstance(Object[] parameterValues)
newInstance in class ConstructorInjectionPoint<T>public AnnotatedConstructor<T> getComponentConstructor()
getComponentConstructor in class ConstructorInjectionPoint<T>public int hashCode()
hashCode in class ConstructorInjectionPoint<T>public boolean equals(Object obj)
equals in class ConstructorInjectionPoint<T>public Type getType()
InjectionPointgetType in interface InjectionPointpublic Set<Annotation> getQualifiers()
InjectionPointgetQualifiers in interface InjectionPointpublic Bean<?> getBean()
InjectionPointBean object representing the bean that defines the injection point. If the
injection point does not belong to a bean, return a null value.getBean in interface InjectionPointBean object representing bean that defines the injection point, of null
if the injection point does not belong to a beanpublic boolean isDelegate()
InjectionPointisDelegate in interface InjectionPointpublic boolean isTransient()
InjectionPointisTransient in interface InjectionPointpublic <A extends Annotation> A getQualifier(Class<A> annotationType)
WeldInjectionPointAttributesgetQualifier in interface WeldInjectionPointAttributes<T,S extends Member>public Member getMember()
InjectionPointField object in the case of field injection, the Method
object in the case of method parameter injection or the Constructor object in the case of
constructor parameter injection.getMember in interface InjectionPointpublic 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 © 2016. All Rights Reserved.