KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > server > invocation > Interceptor


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.server.invocation;
10
11 /**
12  * An invocation interceptor.
13  *
14  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
15  * @version $Revision: 1.1.1.1 $
16  */

17 public interface Interceptor
18 {
19    /**
20     * Perform the invocation.
21     *
22     * @param invocation
23     * @return the returned object
24     */

25    Object JavaDoc invoke(Invocation invocation);
26 }
27
Popular Tags