⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ejfproxyfactory.java

📁 EasyJWeb的框架代码
💻 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 + -