KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > MVCConstants


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.mvc;
8
9
10 /**
11  * <p>
12  * This interface has the names that the default MVC classes
13  * are keyed under within the {@link MVCRegistry MVCRegistry}
14  * </p>
15  *
16  * @author Brian Pontarelli
17  * @since 2.0
18  * @version 2.0
19  */

20 public interface MVCConstants {
21
22     /**
23      * The name that the MVCRequest is store in the HttpServletRequest
24      */

25     String JavaDoc MVC_REQUEST_KEY = "com.inversoft.verge.mvc.MVCRequest";
26
27     /**
28      * The name of the context parameter for the default controller type
29      */

30     String JavaDoc CONTROLLER_CONTEXT_PARAM = "DEFAULT_CONTROLLER_PARSER";
31
32     /**
33      * The name of the request parameter for the default controller parser
34      */

35     String JavaDoc CONTROLLER_REQUEST_PARAM = "controllerParser";
36
37     /**
38      * The name of the context parameter for the default model type
39      */

40     String JavaDoc MODEL_CONTEXT_PARAM = "DEFAULT_MODEL_PARSER";
41
42     /**
43      * The name of the request parameter for the default model type
44      */

45     String JavaDoc MODEL_REQUEST_PARAM = "modelParser";
46
47     /**
48      * The name of the context parameter for the default validator type
49      */

50     String JavaDoc VALIDATOR_CONTEXT_PARAM = "DEFAULT_VALIDATOR_PARSER";
51
52     /**
53      * The name of the request parameter for the default validator type
54      */

55     String JavaDoc VALIDATOR_REQUEST_PARAM = "validatorParser";
56
57     /**
58      * The name that the action flow classes are keyed under
59      */

60     String JavaDoc ACTIONFLOW_NAME = "actionflow";
61
62     /**
63      * The name that all the defaults are initially stored under
64      */

65     String JavaDoc DEFAULT_NAME = "default";
66
67     /**
68      * The name that the Form MVC classes are keyed under
69      */

70     String JavaDoc FORM_NAME = "form";
71
72     /**
73      * The name that the Repository MVC classes are keyed under
74      */

75     String JavaDoc REPOSITORY_NAME = "repository";
76
77     /**
78      * The name that the Web MVC classes are keyed under
79      */

80     String JavaDoc WEB_NAME = "web";
81
82     /**
83      * The name of the context parameter that may hold the name of the MVCMediator
84      * to use
85      */

86     String JavaDoc CONTEXT_PARAM = "DEFAULT_MVCMEDIATOR_CLASS";
87 }
Popular Tags