com.liferay.portal.kernel.util
Class MethodInvoker

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

Deprecated.

public class MethodInvoker
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan, Harry Mark, Shuyang Zhou

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

Constructor Detail

MethodInvoker

public MethodInvoker()
Deprecated. 
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
Deprecated. 
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
Deprecated. 
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,
                                      java.lang.Object targetObject)
                               throws java.lang.ClassNotFoundException,
                                      java.lang.IllegalAccessException,
                                      java.lang.reflect.InvocationTargetException,
                                      java.lang.NoSuchFieldException,
                                      java.lang.NoSuchMethodException
Deprecated. 
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchFieldException
java.lang.NoSuchMethodException