public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
Action action = getAction(method);
if (action == null) {
String msg = "无法获取" + proxy.getClass() + "." + method.getName() + "方法声明的Action实例。";
log.error(msg);
throw new RejectedExecutionException(msg);
} else {
ActionContext context = action.getContext();
context.setAction(action);
return context.execute(method, args);
}