Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.util
Class MethodInvocationUtils  view MethodInvocationUtils download MethodInvocationUtils.java

java.lang.Object
  extended byorg.acegisecurity.util.MethodInvocationUtils

public class MethodInvocationUtils
extends java.lang.Object

Static utility methods for creating MethodInvocations usable within Acegi Security.

All methods of this class return a SimpleMethodInvocation.

Version:
$Id: MethodInvocationUtils.java,v 1.1 2005/11/25 04:17:24 benalex Exp $

Constructor Summary
MethodInvocationUtils()
           
 
Method Summary
static MethodInvocation create(java.lang.Object object, java.lang.String methodName)
          Generates a MethodInvocation for specified methodName on the passed object.
static MethodInvocation create(java.lang.Object object, java.lang.String methodName, java.lang.Object[] args)
          Generates a MethodInvocation for specified methodName on the passed object, using the args to locate the method.
static MethodInvocation createFromClass(java.lang.Class clazz, java.lang.String methodName)
          Generates a MethodInvocation for specified methodName on the passed class.
static MethodInvocation createFromClass(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] 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

MethodInvocationUtils

public MethodInvocationUtils()
Method Detail

create

public static MethodInvocation create(java.lang.Object object,
                                      java.lang.String methodName)
Generates a MethodInvocation for specified methodName on the passed object.


create

public static MethodInvocation create(java.lang.Object object,
                                      java.lang.String methodName,
                                      java.lang.Object[] args)
Generates a MethodInvocation for specified methodName on the passed object, using the args to locate the method.


createFromClass

public static MethodInvocation createFromClass(java.lang.Class clazz,
                                               java.lang.String methodName)
Generates a MethodInvocation for specified methodName on the passed class.


createFromClass

public static MethodInvocation createFromClass(java.lang.Class clazz,
                                               java.lang.String methodName,
                                               java.lang.Class[] args)
Generates a MethodInvocation for specified methodName on the passed class, using the args to locate the method.