T - public class ConstructorInjectionPoint<T> extends AbstractCallableInjectionPoint<T,T,Constructor<T>>
| Modifier | Constructor and Description |
|---|---|
protected |
ConstructorInjectionPoint(EnhancedAnnotatedConstructor<T> constructor,
Bean<T> declaringBean,
Class<?> declaringComponentClass,
InjectionPointFactory factory,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedConstructor<T> |
getAnnotated()
Obtain an instance of
AnnotatedField or
AnnotatedParameter, depending upon whether the injection point is an injected field
or a constructor/method parameter. |
Object[] |
getParameterValues(BeanManagerImpl manager,
CreationalContext<?> ctx,
CreationalContext<?> invocationContext)
Helper method for getting the current parameter values from a list of annotated parameters.
|
ConstructorSignature |
getSignature() |
void |
inject(Object declaringInstance,
Object value)
Injects an instance
|
T |
newInstance(BeanManagerImpl manager,
CreationalContext<?> ctx,
AroundConstructCallback<T> callback) |
protected T |
newInstance(Object[] parameterValues) |
equals, getBean, getInjectionPoints, getMember, getParameterInjectionPoints, getQualifier, getQualifiers, getType, hashCode, isDelegate, isTransient, toStringprotected ConstructorInjectionPoint(EnhancedAnnotatedConstructor<T> constructor, Bean<T> declaringBean, Class<?> declaringComponentClass, InjectionPointFactory factory, BeanManagerImpl manager)
public T newInstance(BeanManagerImpl manager, CreationalContext<?> ctx, AroundConstructCallback<T> callback)
public void inject(Object declaringInstance, Object value)
WeldInjectionPointdeclaringInstance - The instance to inject intovalue - The value to injectpublic Object[] getParameterValues(BeanManagerImpl manager, CreationalContext<?> ctx, CreationalContext<?> invocationContext)
parameters - The list of annotated parameter to look upmanager - The Bean managerpublic AnnotatedConstructor<T> getAnnotated()
InjectionPointAnnotatedField or
AnnotatedParameter, depending upon whether the injection point is an injected field
or a constructor/method parameter.getAnnotated in interface InjectionPointgetAnnotated in class AbstractCallableInjectionPoint<T,T,Constructor<T>>AnnotatedField or AnnotatedParameterpublic ConstructorSignature getSignature()
Copyright © 2013 Seam Framework. All Rights Reserved.