public class MethodInjectionPoint<T,X> extends ForwardingWeldMethod<T,X> implements WeldInjectionPoint<T,Method>
WeldInjectionPoint.WeldInjectionPointSerializationProxy<T,S>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
MAPPED_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, isEquivalent
getDeclaringType
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
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
getDeclaringType
protected 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 ForwardingAnnotated
public int hashCode()
hashCode
in class ForwardingAnnotated
protected WeldMethod<T,X> delegate()
delegate
in class ForwardingWeldMethod<T,X>
public javax.enterprise.inject.spi.Bean<?> getBean()
getBean
in interface javax.enterprise.inject.spi.InjectionPoint
public Set<Annotation> getQualifiers()
WeldAnnotated
getQualifiers
in interface javax.enterprise.inject.spi.InjectionPoint
getQualifiers
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()
WeldCallable
getWeldParameters
in interface WeldCallable<T,X,Method>
getWeldParameters
in class ForwardingWeldMethod<T,X>
public void inject(Object declaringInstance, Object value)
WeldInjectionPoint
inject
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.InjectionPoint
public boolean isDelegate()
isDelegate
in interface javax.enterprise.inject.spi.InjectionPoint
public boolean isTransient()
isTransient
in interface javax.enterprise.inject.spi.InjectionPoint
public Type getType()
getType
in interface javax.enterprise.inject.spi.InjectionPoint
public Member getMember()
getMember
in interface javax.enterprise.inject.spi.InjectionPoint
Copyright © 2013 Seam Framework. All rights reserved.