public interface WeldMethod<T,X> extends WeldCallable<T,X,java.lang.reflect.Method>, AnnotatedMethod<X>
MAPPED_PARAMETER_ANNOTATIONSMAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?>[] |
getParameterTypesAsArray()
Get the parameter types as an array
|
java.lang.String |
getPropertyName()
Gets the property name
|
MethodSignature |
getSignature() |
T |
invoke(java.lang.Object instance,
java.lang.Object... parameters)
Invokes the method
|
T |
invokeOnInstance(java.lang.Object instance,
java.lang.Object... parameters)
Invokes the method on the class of the passed instance, not the declaring
class.
|
boolean |
isEquivalent(java.lang.reflect.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, isStaticgetJavaMembergetParametersisStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentjava.lang.Class<?>[] getParameterTypesAsArray()
T invoke(java.lang.Object instance, java.lang.Object... parameters) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
instance - The instance to invokeparameters - The method parametersjava.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionT invokeOnInstance(java.lang.Object instance, java.lang.Object... parameters) throws java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
instance - The instance to invokemanager - The Bean managerjava.lang.IllegalArgumentExceptionjava.lang.SecurityExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.NoSuchMethodExceptionjava.lang.String getPropertyName()
boolean isEquivalent(java.lang.reflect.Method method)
method - The JLR methodMethodSignature getSignature()
Copyright © 2014 Seam Framework. All Rights Reserved.