public class MethodInvokeHandler extends Object
| 构造器和说明 |
|---|
MethodInvokeHandler(Method method,
String[] parameterNames) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addInterceptors(Interceptor interceptor) |
static Map<Class<?>,Class<? extends ParameterConvert>> |
getConverts() |
List<ErrorHandler> |
getErrorHandlers() |
List<Interceptor> |
getInterceptors() |
String |
getMethodName() |
Class<?> |
getParentClass() |
Class<?> |
getReturnType() |
Object |
invoke(Object o,
Map<String,?> parameters) |
void |
setErrorHandlers(List<ErrorHandler> errorHandlers) |
void |
setInterceptors(List<Interceptor> interceptors) |
public void addInterceptors(Interceptor interceptor)
public void setInterceptors(List<Interceptor> interceptors)
public List<Interceptor> getInterceptors()
public static Map<Class<?>,Class<? extends ParameterConvert>> getConverts()
public Class<?> getParentClass()
public String getMethodName()
public Class<?> getReturnType()
public void setErrorHandlers(List<ErrorHandler> errorHandlers)
public List<ErrorHandler> getErrorHandlers()
Copyright © 2017. All rights reserved.