KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > ejb > handler > Interceptable


1 /* JFox, the OpenSource J2EE Application Server
2  *
3  * Distributable under GNU LGPL license by gun.org
4  * more details please visit http://www.huihoo.org/jfox
5  */

6 package org.jfox.ejb.handler;
7
8 import java.util.Iterator JavaDoc;
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 interceptor
20      * @throws Exception
21      */

22     void addInterceptor(Interceptor interceptor) throws Exception JavaDoc;
23
24     /**
25      * 列出所有的拦截器
26      *
27      * @return
28      */

29     Iterator JavaDoc interceptors();
30 }
Popular Tags