KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > struts > SetupAction


1 /*
2  * Copyright (c) 2001 - 2005 ivata limited.
3  * All rights reserved.
4  * ---------------------------------------------------------
5  * ivata groupware may be redistributed under the GNU General Public
6  * License as published by the Free Software Foundation;
7  * version 2 of the License.
8  *
9  * These programs are free software; you can redistribute them and/or
10  * modify them under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
13  *
14  * These programs are distributed in the hope that they will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17  *
18  * See the GNU General Public License in the file LICENSE.txt for more
19  * details.
20  *
21  * If you would like a copy of the GNU General Public License write to
22  *
23  * Free Software Foundation, Inc.
24  * 59 Temple Place - Suite 330
25  * Boston, MA 02111-1307, USA.
26  *
27  *
28  * To arrange commercial support and licensing, contact ivata at
29  * http://www.ivata.com/contact.jsp
30  * ---------------------------------------------------------
31  * $Log: SetupAction.java,v $
32  * Revision 1.1 2005/04/22 09:35:10 colinmacleod
33  * Added setup action interface so that
34  * the hibernate action can reset/delete all
35  * actions when the container is reloaded.
36  *
37  * ---------------------------------------------------------
38  */

39 package com.ivata.groupware.struts;
40
41 import java.util.Map JavaDoc;
42
43 /**
44  * Implemented by all actions which are used to setup the site (and reset all
45  * existing <strong>Struts</strong> actions.
46  *
47  * @since ivata groupware 0.11 (2005-04-13)
48  * @author Colin MacLeod
49  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
50  * @version $Revision: 1.1 $
51  */

52 public interface SetupAction {
53     /**
54      * This method is called by the request processor when the action is
55      * created, to set the map of actions so they can be later cleared.
56      */

57     void setActions(Map JavaDoc actions);
58 }
59
Popular Tags