1 /* JFox, the OpenSource J2EE Application Server2 *3 * Distributable under GNU LGPL license by gun.org4 * more details please visit http://www.huihoo.org/jfox5 */6 package org.jfox.ejb.handler;7 8 import java.util.Iterator ;9 10 /**11 * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>12 */13 14 15 public interface Interceptable {16 /**17 * 加入一个拦截器18 *19 * @param interceptor20 * @throws Exception21 */22 void addInterceptor(Interceptor interceptor) throws Exception ;23 24 /**25 * 列出所有的拦截器26 *27 * @return28 */29 Iterator interceptors();30 }