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 is a wrapper class, it is not thread-safe and any instance of this class should be used only for temporarily
enhancing the bean instance creation process.WeldInjectionPoint.WeldInjectionPointSerializationProxy<T,S>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
MAPPED_PARAMETER_ANNOTATIONS
Constructor and Description |
---|
ProxyClassConstructorInjectionPointWrapper(javax.enterprise.inject.spi.Bean<T> declaringBean,
WeldConstructor<T> weldConstructor,
ConstructorInjectionPoint<T> originalConstructorInjectionPoint) |
Modifier and Type | Method and Description |
---|---|
protected Object[] |
getParameterValues(List<ParameterInjectionPoint<?,T>> parameters,
Object specialVal,
Class<? extends Annotation> specialParam,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Helper method for getting the current parameter values from a list of
annotated parameters.
|
List<ParameterInjectionPoint<?,T>> |
getWeldParameters()
Gets the abstracted parameters of the method
|
T |
newInstance(BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext) |
delegate, equals, getAnnotated, getBean, getMember, getQualifiers, getType, hashCode, inject, isDelegate, isTransient, of
getDeclaringType, getJavaMember, getParameters, getSignature, getWeldParameters, newInstance
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringType
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
public ProxyClassConstructorInjectionPointWrapper(javax.enterprise.inject.spi.Bean<T> declaringBean, WeldConstructor<T> weldConstructor, ConstructorInjectionPoint<T> originalConstructorInjectionPoint)
public List<ParameterInjectionPoint<?,T>> getWeldParameters()
WeldCallable
getWeldParameters
in interface WeldCallable<T,T,Constructor<T>>
getWeldParameters
in class ConstructorInjectionPoint<T>
protected Object[] getParameterValues(List<ParameterInjectionPoint<?,T>> parameters, Object specialVal, Class<? extends Annotation> specialParam, BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
ConstructorInjectionPoint
getParameterValues
in class ConstructorInjectionPoint<T>
parameters
- The list of annotated parameter to look upmanager
- The Bean managerpublic T newInstance(BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
newInstance
in class ConstructorInjectionPoint<T>
Copyright © 2012 Seam Framework. All Rights Reserved.