| java.lang.Object org.acegisecurity.util.MethodInvocationUtils
MethodInvocationUtils | final public class MethodInvocationUtils (Code) | | Static utility methods for creating MethodInvocation s usable within Acegi Security.All methods
of this class return a
org.acegisecurity.util.SimpleMethodInvocation .
author: Ben Alex version: $Id: MethodInvocationUtils.java 1784 2007-02-24 21:00:24Z luke_t $ |
Method Summary | |
public static MethodInvocation | create(Object object, String methodName) Generates a MethodInvocation for specified methodName on the passed object. | public static MethodInvocation | create(Object object, String methodName, Object[] args) Generates a MethodInvocation for specified methodName on the passed object,
using the args to locate the method. | public static MethodInvocation | createFromClass(Class clazz, String methodName) Generates a MethodInvocation for specified methodName on the passed class. | public static MethodInvocation | createFromClass(Class clazz, String methodName, Class[] classArgs, Object[] args) Generates a MethodInvocation for specified methodName on the passed class,
using the args to locate the method. |
create | public static MethodInvocation create(Object object, String methodName)(Code) | | Generates a MethodInvocation for specified methodName on the passed object.
Parameters: object - the object that will be used to find the relevant Method Parameters: methodName - the name of the method to find a MethodInvocation , or null if there was a problem |
create | public static MethodInvocation create(Object object, String methodName, Object[] args)(Code) | | Generates a MethodInvocation for specified methodName on the passed object,
using the args to locate the method.
Parameters: object - the object that will be used to find the relevant Method Parameters: methodName - the name of the method to find Parameters: args - arguments that are required as part of the method signature a MethodInvocation , or null if there was a problem |
createFromClass | public static MethodInvocation createFromClass(Class clazz, String methodName)(Code) | | Generates a MethodInvocation for specified methodName on the passed class.
Parameters: clazz - the class of object that will be used to find the relevant Method Parameters: methodName - the name of the method to find a MethodInvocation , or null if there was a problem |
createFromClass | public static MethodInvocation createFromClass(Class clazz, String methodName, Class[] classArgs, Object[] args)(Code) | | Generates a MethodInvocation for specified methodName on the passed class,
using the args to locate the method.
Parameters: clazz - the class of object that will be used to find the relevant Method Parameters: methodName - the name of the method to find Parameters: classArgs - arguments that are required to locate the relevant method signature Parameters: args - the actual arguments that should be passed to SimpleMethodInvocation a MethodInvocation , or null if there was a problem |
|
|