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.Constructor and Description |
---|
ProxyClassConstructorInjectionPointWrapper(javax.enterprise.inject.spi.Bean<T> declaringBean,
Class<?> declaringComponentClass,
EnhancedAnnotatedConstructor<T> weldConstructor,
ConstructorInjectionPoint<T> originalConstructorInjectionPoint,
BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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<?,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() |
Type |
getType() |
int |
hashCode() |
boolean |
isDelegate() |
boolean |
isTransient() |
protected T |
newInstance(Object[] parameterValues) |
String |
toString() |
getAnnotated, getParameterValues, getSignature, newInstance
public ProxyClassConstructorInjectionPointWrapper(javax.enterprise.inject.spi.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 javax.enterprise.inject.spi.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()
getType
in interface javax.enterprise.inject.spi.InjectionPoint
public Set<Annotation> getQualifiers()
getQualifiers
in interface javax.enterprise.inject.spi.InjectionPoint
public javax.enterprise.inject.spi.Bean<?> getBean()
getBean
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
public <A extends Annotation> A getQualifier(Class<A> annotationType)
WeldInjectionPointAttributes
getQualifier
in interface WeldInjectionPointAttributes<T,S extends Member>
public Member getMember()
getMember
in interface javax.enterprise.inject.spi.InjectionPoint
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 © 2016. All rights reserved.