KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > internal > limitagent > LimitAgent


1 package org.enhydra.shark.api.internal.limitagent;
2
3 import org.enhydra.shark.api.RootException;
4 import org.enhydra.shark.api.internal.working.CallbackUtilities;
5
6 /**
7  *
8  * @author <a HREF="mailto:jaz@ofbiz.org">Andy Zeneski</a>
9  * @since Mar 24, 2004
10  */

11 public interface LimitAgent {
12
13    /**
14     * Method configure is called at Shark start up, to configure
15     * implementation of LimitAgent.
16     *
17     * @param cus an instance of CallbackUtilities used to get
18     * properties for configuring.
19     *
20     * @exception RootException Thrown if configuring doesn't succeed.
21     */

22    void configure(CallbackUtilities cus) throws RootException;
23
24    /**
25     * Method invoke.
26     *
27     * @param session a LimitAgentSession.
28     *
29     * @exception LimitAgentException.
30     */

31    void invoke(LimitAgentSession session) throws LimitAgentException;
32 }
33
Popular Tags