public class MethodInjectionPoint<T,X> extends ForwardingWeldMethod<T,X> implements WeldInjectionPoint<T,Method>
WeldInjectionPoint.WeldInjectionPointSerializationProxy<T,S>MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONSMAPPED_PARAMETER_ANNOTATIONS| Modifier | Constructor and Description |
|---|---|
protected |
MethodInjectionPoint(javax.enterprise.inject.spi.Bean<?> declaringBean,
WeldMethod<T,X> method) |
| Modifier and Type | Method and Description |
|---|---|
protected WeldMethod<T,X> |
delegate() |
boolean |
equals(Object obj) |
javax.enterprise.inject.spi.Annotated |
getAnnotated() |
javax.enterprise.inject.spi.Bean<?> |
getBean() |
Member |
getMember() |
protected Object[] |
getParameterValues(List<ParameterInjectionPoint<?,X>> parameters,
Class<? extends Annotation> specialParam,
Object specialVal,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Helper method for getting the current parameter values from a list of
annotated parameters.
|
Set<Annotation> |
getQualifiers()
Gets the binding types for this element
|
Type |
getType() |
List<ParameterInjectionPoint<?,X>> |
getWeldParameters()
Gets the abstracted parameters of the method
|
int |
hashCode() |
void |
inject(Object declaringInstance,
Object value)
Injects an instance
|
T |
invoke(Object declaringInstance,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext,
Class<? extends RuntimeException> exceptionTypeToThrow) |
T |
invokeOnInstance(Object declaringInstance,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext,
Class<? extends RuntimeException> exceptionTypeToThrow) |
T |
invokeOnInstanceWithSpecialValue(Object declaringInstance,
Class<? extends Annotation> annotatedParameter,
Object parameter,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext,
Class<? extends RuntimeException> exceptionTypeToThrow) |
T |
invokeWithSpecialValue(Object declaringInstance,
Class<? extends Annotation> annotatedParameter,
Object parameter,
BeanManagerImpl manager,
javax.enterprise.context.spi.CreationalContext<?> creationalContext,
Class<? extends RuntimeException> exceptionTypeToThrow) |
boolean |
isDelegate() |
boolean |
isTransient() |
static <T,X> MethodInjectionPoint<T,X> |
of(javax.enterprise.inject.spi.Bean<?> declaringBean,
WeldMethod<T,X> method) |
getAnnotatedParameters, getJavaMember, getParameters, getParameterTypesAsArray, getPropertyName, getSignature, getWeldParameters, invoke, invokeOnInstance, isEquivalentgetDeclaringTypegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaringTypegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentgetDeclaringTypeprotected MethodInjectionPoint(javax.enterprise.inject.spi.Bean<?> declaringBean,
WeldMethod<T,X> method)
public static <T,X> MethodInjectionPoint<T,X> of(javax.enterprise.inject.spi.Bean<?> declaringBean, WeldMethod<T,X> method)
public boolean equals(Object obj)
equals in class ForwardingAnnotatedpublic int hashCode()
hashCode in class ForwardingAnnotatedprotected WeldMethod<T,X> delegate()
delegate in class ForwardingWeldMethod<T,X>public javax.enterprise.inject.spi.Bean<?> getBean()
getBean in interface javax.enterprise.inject.spi.InjectionPointpublic Set<Annotation> getQualifiers()
WeldAnnotatedgetQualifiers in interface javax.enterprise.inject.spi.InjectionPointgetQualifiers in interface WeldAnnotated<T,Method>getQualifiers in class ForwardingWeldAnnotated<T,Method>public T invoke(Object declaringInstance, BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext, Class<? extends RuntimeException> exceptionTypeToThrow)
public T invokeWithSpecialValue(Object declaringInstance, Class<? extends Annotation> annotatedParameter, Object parameter, BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext, Class<? extends RuntimeException> exceptionTypeToThrow)
public T invokeOnInstance(Object declaringInstance, BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext, Class<? extends RuntimeException> exceptionTypeToThrow)
public T invokeOnInstanceWithSpecialValue(Object declaringInstance, Class<? extends Annotation> annotatedParameter, Object parameter, BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext, Class<? extends RuntimeException> exceptionTypeToThrow)
public List<ParameterInjectionPoint<?,X>> getWeldParameters()
WeldCallablegetWeldParameters in interface WeldCallable<T,X,Method>getWeldParameters in class ForwardingWeldMethod<T,X>public void inject(Object declaringInstance, Object value)
WeldInjectionPointinject in interface WeldInjectionPoint<T,Method>declaringInstance - The instance to inject intovalue - The value to injectprotected Object[] getParameterValues(List<ParameterInjectionPoint<?,X>> parameters, Class<? extends Annotation> specialParam, Object specialVal, BeanManagerImpl manager, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
parameters - The list of annotated parameter to look upmanager - The Bean managerpublic javax.enterprise.inject.spi.Annotated getAnnotated()
getAnnotated in interface javax.enterprise.inject.spi.InjectionPointpublic boolean isDelegate()
isDelegate in interface javax.enterprise.inject.spi.InjectionPointpublic boolean isTransient()
isTransient in interface javax.enterprise.inject.spi.InjectionPointpublic Type getType()
getType in interface javax.enterprise.inject.spi.InjectionPointpublic Member getMember()
getMember in interface javax.enterprise.inject.spi.InjectionPointCopyright © 2014 Seam Framework. All Rights Reserved.