Package com.appslandia.common.utils
Class ObjectInvoker
- java.lang.Object
-
- com.appslandia.common.utils.ObjectInvoker
-
-
Constructor Summary
Constructors Constructor Description ObjectInvoker(Object obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectInvokerinvoke(String method)ObjectInvokerinvoke(String method, Class<?>[] parameterTypes, Object[] args)ObjectInvokerinvoke(String method, Class<?> parameterType, Object arg)protected ObjectinvokeMethod(String method, Class<?>[] parameterTypes, Object[] args)ObjectinvokeResult(String method)ObjectinvokeResult(String method, Class<?>[] parameterTypes, Object[] args)ObjectinvokeResult(String method, Class<?> parameterType, Object arg)
-
-
-
Constructor Detail
-
ObjectInvoker
public ObjectInvoker(Object obj)
-
-
Method Detail
-
invokeMethod
protected Object invokeMethod(String method, Class<?>[] parameterTypes, Object[] args) throws Exception
- Throws:
Exception
-
invoke
public ObjectInvoker invoke(String method) throws Exception
- Throws:
Exception
-
invoke
public ObjectInvoker invoke(String method, Class<?> parameterType, Object arg) throws Exception
- Throws:
Exception
-
invoke
public ObjectInvoker invoke(String method, Class<?>[] parameterTypes, Object[] args) throws Exception
- Throws:
Exception
-
invokeResult
public Object invokeResult(String method, Class<?> parameterType, Object arg) throws Exception
- Throws:
Exception
-
-