01: /*
02: * Copyright 2005-2006 the original author or authors.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
05: * in compliance with the License. You may obtain a copy of the License at
06: *
07: * http://www.apache.org/licenses/LICENSE-2.0
08: *
09: * Unless required by applicable law or agreed to in writing, software distributed under the License
10: * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11: * or implied. See the License for the specific language governing permissions and limitations under
12: * the License.
13: */
14:
15: package org.strecks.constants;
16:
17: /**
18: * Keys which are used to store additional application infrastructure which typically only framework components need to
19: * know about
20: *
21: * @author Phil Zoio
22: */
23: public interface InfrastructureKeys {
24:
25: /**
26: * The list of "good" urls, ie. retrieved via get and not resulting in an exception
27: */
28: String GOOD_URL_HISTORY = "org.strecks.constrants.InfrastructureKeys.goodUrlHistory";
29:
30: /**
31: * Used to hold the page behind or view helper class instance accessible from the JSP page context
32: */
33: String PAGE_BEAN = "org.strecks.constrants.InfrastructureKeys.pageBean";
34:
35: /**
36: * Used to make the action bean instance accessible from the JSP page context
37: */
38: String ACTION_BEAN = "org.strecks.constrants.InfrastructureKeys.actionBean";
39:
40: /**
41: * Holds action forward
42: */
43: String ACTION_FORWARD = "org.strecks.constrants.InfrastructureKeys.actionForward";
44:
45: /**
46: * Holds redirect helper instance as request attribute key
47: */
48: String REDIRECT_HELPER = "org.strecks.constrants.InfrastructureKeys.redirectHelper";
49:
50: /**
51: * Holds redirect parameters, that is, parameters that should be available after the redirect in a "Redirect After
52: * Post" interaction
53: */
54: String REDIRECT_PARAMETERS = "org.strecks.constrants.InfrastructureKeys.redirectParameters";
55:
56: /**
57: * A special parameter used to hold the status message following an operation. A typical use is to display
58: * information about an operation which has just occurred (e.g. "User profile saved")
59: */
60: String STATUS_MESSAGE = "org.strecks.constrants.InfrastructureKeys.statusMessage";
61:
62: }
|