com.liferay.portal.kernel.util
Class MethodInvoker

java.lang.Object
  extended by com.liferay.portal.kernel.util.MethodInvoker

public class MethodInvoker
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan, Harry Mark

Constructor Summary
MethodInvoker()
           
 
Method Summary
static java.lang.Object invoke(MethodWrapper methodWrapper)
           
static java.lang.Object invoke(MethodWrapper methodWrapper, boolean newInstance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvoker

public MethodInvoker()
Method Detail

invoke

public static java.lang.Object invoke(MethodWrapper methodWrapper)
                               throws java.lang.ClassNotFoundException,
                                      java.lang.IllegalAccessException,
                                      java.lang.InstantiationException,
                                      java.lang.reflect.InvocationTargetException,
                                      java.lang.NoSuchFieldException,
                                      java.lang.NoSuchMethodException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchFieldException
java.lang.NoSuchMethodException

invoke

public static java.lang.Object invoke(MethodWrapper methodWrapper,
                                      boolean newInstance)
                               throws java.lang.ClassNotFoundException,
                                      java.lang.IllegalAccessException,
                                      java.lang.InstantiationException,
                                      java.lang.reflect.InvocationTargetException,
                                      java.lang.NoSuchFieldException,
                                      java.lang.NoSuchMethodException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchFieldException
java.lang.NoSuchMethodException