| Constructor and Description |
|---|
ObjectInvoker(Object obj) |
| Modifier and Type | Method and Description |
|---|---|
ObjectInvoker |
invoke(String method) |
ObjectInvoker |
invoke(String method,
Class<?>[] parameterTypes,
Object[] args) |
ObjectInvoker |
invoke(String method,
Class<?> parameterType,
Object arg) |
protected Object |
invokeMethod(String method,
Class<?>[] parameterTypes,
Object[] args) |
Object |
invokeResult(String method) |
Object |
invokeResult(String method,
Class<?>[] parameterTypes,
Object[] args) |
Object |
invokeResult(String method,
Class<?> parameterType,
Object arg) |
public ObjectInvoker(Object obj)
protected Object invokeMethod(String method, Class<?>[] parameterTypes, Object[] args) throws Exception
Exceptionpublic ObjectInvoker invoke(String method) throws Exception
Exceptionpublic ObjectInvoker invoke(String method, Class<?> parameterType, Object arg) throws Exception
Exceptionpublic ObjectInvoker invoke(String method, Class<?>[] parameterTypes, Object[] args) throws Exception
Exceptionpublic Object invokeResult(String method, Class<?> parameterType, Object arg) throws Exception
ExceptionCopyright © 2019. All rights reserved.