ejfproxyfactory.java
来自「easyweb的使用」· Java 代码 · 共 24 行
JAVA
24 行
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 + =
减小字号Ctrl + -
显示快捷键?