Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class MethodHandler

java.lang.Object
  extended by com.liferay.portal.kernel.util.MethodHandler
All Implemented Interfaces:
Serializable

public class MethodHandler
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
MethodHandler(MethodKey methodKey, Object... arguments)
           
MethodHandler(Method method, Object... arguments)
           
 
Method Summary
 Object[] getArguments()
           
 Class<?>[] getArgumentsClasses()
           
 String getClassName()
           
 MethodKey getMethodKey()
           
 String getMethodName()
           
 Object invoke(boolean newInstance)
           
 Object invoke(Object target)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodHandler

public MethodHandler(Method method,
                     Object... arguments)

MethodHandler

public MethodHandler(MethodKey methodKey,
                     Object... arguments)
Method Detail

getArguments

public Object[] getArguments()

getArgumentsClasses

public Class<?>[] getArgumentsClasses()

getClassName

public String getClassName()

getMethodKey

public MethodKey getMethodKey()

getMethodName

public String getMethodName()

invoke

public Object invoke(boolean newInstance)
              throws Exception
Throws:
Exception

invoke

public Object invoke(Object target)
              throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

Liferay 6.1.2-ce-ga3