boolean hasMethod = false;
try {
Method method = CapCommonUtil.findMethod(
executeHandler.getClass(), methodId, (Class<?>) null);
if (method != null) {
HandlerType type = method.getAnnotation(HandlerType.class);
if (type != null
&& HandlerTypeEnum.GRID.equals(type.value())) {
rtn = getGridData(method, params);
} else {
rtn = (IResult) method.invoke(executeHandler, params);
}
hasMethod = true;