KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > invicta > handler > InvictaHandler


1 package net.sf.invicta.handler;
2 import java.util.List JavaDoc;
3 import java.util.Map JavaDoc;
4
5 import net.sf.invicta.InvictaException;
6
7 public interface InvictaHandler {
8     
9     /**
10      * Return the name under which the handler is registered.
11      * @return String
12      */

13     String JavaDoc getName();
14
15     /**
16      *
17      * @param context
18      * @param params
19      * @return Object
20      * @throws InvictaException
21      */

22     Object JavaDoc handle(Object JavaDoc context, List JavaDoc params) throws InvictaException;
23         
24     /**
25      *
26      * @param context
27      * @param paramsMap
28      * @return Object
29      * @throws InvictaException
30      */

31     Object JavaDoc handle(Object JavaDoc context, Map JavaDoc paramsMap) throws InvictaException;
32 }
Popular Tags