|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.util.MethodInvocationUtils
public class MethodInvocationUtils
Static utility methods for creating MethodInvocations usable within Acegi Security.
All methods
of this class return a SimpleMethodInvocation.
| Constructor Summary | |
|---|---|
MethodInvocationUtils()
|
|
| Method Summary | |
|---|---|
static org.aopalliance.intercept.MethodInvocation |
create(Object object,
String methodName)
Generates a MethodInvocation for specified methodName on the passed object. |
static org.aopalliance.intercept.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. |
static org.aopalliance.intercept.MethodInvocation |
createFromClass(Class clazz,
String methodName)
Generates a MethodInvocation for specified methodName on the passed class. |
static org.aopalliance.intercept.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodInvocationUtils()
| Method Detail |
|---|
public static org.aopalliance.intercept.MethodInvocation create(Object object,
String methodName)
MethodInvocation for specified methodName on the passed object.
object - the object that will be used to find the relevant MethodmethodName - the name of the method to find
MethodInvocation, or null if there was a problem
public static org.aopalliance.intercept.MethodInvocation create(Object object,
String methodName,
Object[] args)
MethodInvocation for specified methodName on the passed object,
using the args to locate the method.
object - the object that will be used to find the relevant MethodmethodName - the name of the method to findargs - arguments that are required as part of the method signature
MethodInvocation, or null if there was a problem
public static org.aopalliance.intercept.MethodInvocation createFromClass(Class clazz,
String methodName)
MethodInvocation for specified methodName on the passed class.
clazz - the class of object that will be used to find the relevant MethodmethodName - the name of the method to find
MethodInvocation, or null if there was a problem
public static org.aopalliance.intercept.MethodInvocation createFromClass(Class clazz,
String methodName,
Class[] classArgs,
Object[] args)
MethodInvocation for specified methodName on the passed class,
using the args to locate the method.
clazz - the class of object that will be used to find the relevant MethodmethodName - the name of the method to findclassArgs - arguments that are required to locate the relevant method signatureargs - the actual arguments that should be passed to SimpleMethodInvocation
MethodInvocation, or null if there was a problem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||