public class MethodInjectionPoint<T,X>
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
MethodInjectionPoint(EnhancedAnnotatedMethod<T,X> enhancedMethod,
Bean<?> declaringBean,
java.lang.Class<?> declaringComponentClass,
boolean observerOrDisposer,
InjectionPointFactory factory,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
AnnotatedMethod<X> |
getAnnotated() |
Bean<?> |
getBean() |
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns a set of
InjectionPoint instances of this constructor/method. |
java.lang.reflect.Member |
getMember() |
java.util.List<ParameterInjectionPoint<?,X>> |
getParameterInjectionPoints() |
protected java.lang.Object[] |
getParameterValues(java.lang.Class<? extends java.lang.annotation.Annotation> specialParam,
java.lang.Object specialVal,
BeanManagerImpl manager,
CreationalContext<?> ctx,
CreationalContext<?> invocationContext)
Helper method for getting the current parameter values from a list of annotated parameters.
|
<A extends java.lang.annotation.Annotation> |
getQualifier(java.lang.Class<A> annotationType)
Returns an instance of a given qualifier annotation or null if a given qualifier is not present on the injection point.
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers() |
java.lang.reflect.Type |
getType() |
int |
hashCode() |
T |
invoke(java.lang.Object declaringInstance,
BeanManagerImpl manager,
CreationalContext<?> creationalContext,
java.lang.Class<? extends java.lang.RuntimeException> exceptionTypeToThrow) |
T |
invokeOnInstance(java.lang.Object declaringInstance,
BeanManagerImpl manager,
CreationalContext<?> creationalContext,
java.lang.Class<? extends java.lang.RuntimeException> exceptionTypeToThrow) |
T |
invokeOnInstanceWithSpecialValue(java.lang.Object declaringInstance,
java.lang.Class<? extends java.lang.annotation.Annotation> annotatedParameter,
java.lang.Object parameter,
BeanManagerImpl manager,
CreationalContext<?> ctx,
java.lang.Class<? extends java.lang.RuntimeException> exceptionTypeToThrow) |
T |
invokeWithSpecialValue(java.lang.Object declaringInstance,
java.lang.Class<? extends java.lang.annotation.Annotation> annotatedParameter,
java.lang.Object parameter,
BeanManagerImpl manager,
CreationalContext<?> ctx,
java.lang.Class<? extends java.lang.RuntimeException> exceptionTypeToThrow) |
boolean |
isDelegate() |
boolean |
isTransient() |
java.lang.String |
toString() |
protected MethodInjectionPoint(EnhancedAnnotatedMethod<T,X> enhancedMethod, Bean<?> declaringBean, java.lang.Class<?> declaringComponentClass, boolean observerOrDisposer, InjectionPointFactory factory, BeanManagerImpl manager)
public T invoke(java.lang.Object declaringInstance, BeanManagerImpl manager, CreationalContext<?> creationalContext, java.lang.Class<? extends java.lang.RuntimeException> exceptionTypeToThrow)
public T invokeWithSpecialValue(java.lang.Object declaringInstance, java.lang.Class<? extends java.lang.annotation.Annotation> annotatedParameter, java.lang.Object parameter, BeanManagerImpl manager, CreationalContext<?> ctx, java.lang.Class<? extends java.lang.RuntimeException> exceptionTypeToThrow)
public T invokeOnInstance(java.lang.Object declaringInstance, BeanManagerImpl manager, CreationalContext<?> creationalContext, java.lang.Class<? extends java.lang.RuntimeException> exceptionTypeToThrow)
public T invokeOnInstanceWithSpecialValue(java.lang.Object declaringInstance, java.lang.Class<? extends java.lang.annotation.Annotation> annotatedParameter, java.lang.Object parameter, BeanManagerImpl manager, CreationalContext<?> ctx, java.lang.Class<? extends java.lang.RuntimeException> exceptionTypeToThrow)
protected java.lang.Object[] getParameterValues(java.lang.Class<? extends java.lang.annotation.Annotation> specialParam,
java.lang.Object specialVal,
BeanManagerImpl manager,
CreationalContext<?> ctx,
CreationalContext<?> invocationContext)
parameters - The list of annotated parameter to look upmanager - The Bean managerpublic AnnotatedMethod<X> getAnnotated()
getAnnotated in interface InjectionPointpublic java.lang.reflect.Type getType()
getType in interface InjectionPointpublic java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers in interface InjectionPointpublic Bean<?> getBean()
getBean in interface InjectionPointpublic boolean isDelegate()
isDelegate in interface InjectionPointpublic boolean isTransient()
isTransient in interface InjectionPointpublic <A extends java.lang.annotation.Annotation> A getQualifier(java.lang.Class<A> annotationType)
WeldInjectionPointAttributesgetQualifier in interface WeldInjectionPointAttributes<T,S extends java.lang.reflect.Member>public java.lang.reflect.Member getMember()
getMember in interface InjectionPointpublic java.util.List<ParameterInjectionPoint<?,X>> getParameterInjectionPoints()
public java.util.Set<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.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013 Seam Framework. All Rights Reserved.