📄 ejfproxyfactory.java
字号:
package com.easyjf.aop;
import com.easyjf.web.IWebAction;
import com.easyjf.web.Module;
/**
* 测试
* @author stef_wu
*
*/
public class EjfProxyFactory {
public static IWebAction getProxyAction(String actionClass, Module module)
throws Exception {
String[] interceptors = module.getInterceptors();
if (interceptors != null && interceptors.length > 0) {//如果有拦截器同,则通过代理对象加载拦截
IWebAction action = (IWebAction) MyProxyFactory.getProxyObject(
actionClass, interceptors);
return action;
} else {
return null;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -