public interface WeldMethod<T,X> extends WeldCallable<T,X,Method>, javax.enterprise.inject.spi.AnnotatedMethod<X>
MAPPED_PARAMETER_ANNOTATIONSMAPPED_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, getWeldParametersgetDeclaringTypegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticClass<?>[] getParameterTypesAsArray()
T invoke(Object instance, Object... parameters) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
instance - The instance to invokeparameters - The method parametersIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionT invokeOnInstance(Object instance, Object... parameters) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
instance - The instance to invokemanager - The Bean managerIllegalArgumentExceptionSecurityExceptionIllegalAccessExceptionInvocationTargetExceptionNoSuchMethodExceptionString getPropertyName()
boolean isEquivalent(Method method)
method - The JLR methodMethodSignature getSignature()
Copyright © 2014 Seam Framework. All Rights Reserved.