package org.jfox.ejb.plugin;

import java.util.Iterator;

/**
 * 
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */


public interface Interceptable {
  /**
   * 加入一个拦截器
   * @param interceptor
   * @throws Exception
   */
  void addInterceptor(Interceptor interceptor) throws Exception;

  /**
   * 列出所有的拦截器
   * @return
   */
  Iterator interceptors();
}