T
- public class ConstructorInjectionPoint<T> extends Object
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<?> 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,
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<?> invocationContext)
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.InjectionPoint
public 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.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 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 © 2016. All rights reserved.