org.jboss.weld.injection
Class ProxyClassConstructorInjectionPointWrapper<T>
java.lang.Object
org.jboss.weld.introspector.ForwardingAnnotated
org.jboss.weld.introspector.ForwardingWeldAnnotated<T,S>
org.jboss.weld.introspector.ForwardingWeldMember<T,T,Constructor<T>>
org.jboss.weld.introspector.ForwardingWeldConstructor<T>
org.jboss.weld.injection.ConstructorInjectionPoint<T>
org.jboss.weld.injection.ProxyClassConstructorInjectionPointWrapper<T>
- All Implemented Interfaces:
- Serializable, javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedCallable<T>, javax.enterprise.inject.spi.AnnotatedConstructor<T>, javax.enterprise.inject.spi.AnnotatedMember<T>, javax.enterprise.inject.spi.InjectionPoint, WeldInjectionPoint<T,Constructor<T>>, WeldAnnotated<T,Constructor<T>>, WeldCallable<T,T,Constructor<T>>, WeldConstructor<T>, WeldMember<T,T,Constructor<T>>
public class ProxyClassConstructorInjectionPointWrapper<T>
- extends ConstructorInjectionPoint<T>
A wrapper on a 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.
- Author:
- Marius Bogoevici, Ales Justin
- See Also:
- Serialized Form
Methods inherited from class org.jboss.weld.injection.ConstructorInjectionPoint |
delegate, equals, getAnnotated, getBean, getMember, getQualifiers, getType, hashCode, inject, isDelegate, isTransient, of |
Methods inherited from class org.jboss.weld.introspector.ForwardingWeldAnnotated |
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic |
Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated |
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic |
Methods inherited from interface javax.enterprise.inject.spi.Annotated |
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent |
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedMember |
isStatic |
ProxyClassConstructorInjectionPointWrapper
public ProxyClassConstructorInjectionPointWrapper(javax.enterprise.inject.spi.Bean<T> declaringBean,
WeldConstructor<T> weldConstructor,
ConstructorInjectionPoint<T> originalConstructorInjectionPoint)
getWeldParameters
public List<ParameterInjectionPoint<?,T>> getWeldParameters()
- Description copied from interface:
WeldCallable
- Gets the abstracted parameters of the method
- Specified by:
getWeldParameters
in interface WeldCallable<T,T,Constructor<T>>
- Overrides:
getWeldParameters
in class ConstructorInjectionPoint<T>
- Returns:
- A list of parameters. Returns an empty list if no parameters are
present.
getParameterValues
protected Object[] getParameterValues(List<ParameterInjectionPoint<?,T>> parameters,
Object specialVal,
Class<? extends Annotation> specialParam,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
- Description copied from class:
ConstructorInjectionPoint
- Helper method for getting the current parameter values from a list of
annotated parameters.
- Overrides:
getParameterValues
in class ConstructorInjectionPoint<T>
- Parameters:
parameters
- The list of annotated parameter to look upmanager
- The Bean manager
- Returns:
- The object array of looked up values
newInstance
public T newInstance(BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
- Overrides:
newInstance
in class ConstructorInjectionPoint<T>
Copyright © 2013 Seam Framework. All Rights Reserved.