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,java.lang.reflect.Constructor<T>>
org.jboss.weld.introspector.ForwardingWeldConstructor<T>
org.jboss.weld.injection.ConstructorInjectionPoint<T>
org.jboss.weld.injection.ProxyClassConstructorInjectionPointWrapper<T>
- All Implemented Interfaces:
- java.io.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,java.lang.reflect.Constructor<T>>, WeldAnnotated<T,java.lang.reflect.Constructor<T>>, WeldCallable<T,T,java.lang.reflect.Constructor<T>>, WeldConstructor<T>, WeldMember<T,T,java.lang.reflect.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
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
getInjectedDelegate()
The delegate injected during the constructed process, if any |
protected java.lang.Object[] |
getParameterValues(java.util.List<ParameterInjectionPoint<?,T>> parameters,
java.lang.Object specialVal,
java.lang.Class<? extends java.lang.annotation.Annotation> specialParam,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Helper method for getting the current parameter values from a list of
annotated parameters. |
java.util.List<ParameterInjectionPoint<?,T>> |
getWeldParameters()
Gets the abstracted parameters of the method |
| Methods inherited from class org.jboss.weld.injection.ConstructorInjectionPoint |
delegate, getAnnotated, getBean, getMember, getQualifiers, getType, inject, isDelegate, isTransient, newInstance, of |
| Methods inherited from class org.jboss.weld.introspector.ForwardingWeldAnnotated |
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isProxyable, isPublic, isStatic |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated |
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isProxyable, 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 java.util.List<ParameterInjectionPoint<?,T>> getWeldParameters()
- Description copied from interface:
WeldCallable
- Gets the abstracted parameters of the method
- Specified by:
getWeldParameters in interface WeldCallable<T,T,java.lang.reflect.Constructor<T>>- Overrides:
getWeldParameters in class ConstructorInjectionPoint<T>
- Returns:
- A list of parameters. Returns an empty list if no parameters are
present.
getParameterValues
protected java.lang.Object[] getParameterValues(java.util.List<ParameterInjectionPoint<?,T>> parameters,
java.lang.Object specialVal,
java.lang.Class<? extends java.lang.annotation.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
getInjectedDelegate
public java.lang.Object getInjectedDelegate()
- The delegate injected during the constructed process, if any
- Returns:
Copyright © 2008-2010 Seam Framework. All Rights Reserved.