public interface WeldMethod<T,X> extends WeldCallable<T,X,Method>, javax.enterprise.inject.spi.AnnotatedMethod<X>
MAPPED_PARAMETER_ANNOTATIONS
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Modifier and Type | Method and Description |
---|---|
Class<?>[] |
getParameterTypesAsArray()
Get the parameter types as an array
|
String |
getPropertyName()
Gets the property name
|
MethodSignature |
getSignature() |
T |
invoke(Object instance,
Object... parameters)
Invokes the method
|
T |
invokeOnInstance(Object instance,
Object... parameters)
Invokes the method on the class of the passed instance, not the declaring
class.
|
boolean |
isEquivalent(Method method)
Checks if a this is equivalent to a JLR method
|
getWeldParameters, getWeldParameters
getDeclaringType
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStatic
Class<?>[] getParameterTypesAsArray()
T invoke(Object instance, Object... parameters) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
instance
- The instance to invokeparameters
- The method parametersIllegalArgumentException
IllegalAccessException
InvocationTargetException
T invokeOnInstance(Object instance, Object... parameters) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
instance
- The instance to invokemanager
- The Bean managerIllegalArgumentException
SecurityException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
String getPropertyName()
boolean isEquivalent(Method method)
method
- The JLR methodMethodSignature getSignature()
Copyright © 2013 Seam Framework. All rights reserved.