2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.dialog.basic;
19
20 import org.apache.shale.dialog.basic.model.Dialog;
21
22 /***
23 * <p>Manifest constants for the basic dialog state manager implementation.</p>
24 *
25 * @since 1.0.4
26 */
27 public class Globals {
28
29
30 /***
31 * <p>Context initialization paramater name under which a comma separated
32 * list of configuration resources to be parsed exists.</p>
33 */
34 public static final String CONFIGURATION =
35 "org.apache.shale.dialog.basic.CONFIGURATION";
36
37
38 /***
39 * <p>Application scope attribute under which a <code>Map</code> of
40 * {@link Dialog} definitions (keyed by dialog name) is stored.</p>
41 */
42 public static final String DIALOGS =
43 "org.apache.shale.dialog.basic.DIALOGS";
44
45
46 /***
47 * <p>Context initialization parameter name under which a strategy name
48 * for dealing with saving and restoring dialog context state information
49 * is specified. Valid values are:</p>
50 * <ul>
51 * <li><code>none</code> - No extra information is stored (default).</li>
52 * <li><code>top</code> - Information from the top-most {@link Position}
53 * on the stack, plus enough information to detect crossing a subdialog
54 * boundary. Such a case will cause an exception to be thrown.</li>
55 * <li><code>stack</code> - The entire stack of {@link Position}s, including
56 * the corresponding data objects.<li>
57 * </ul>
58 *
59 * <p><strong>IMPLEMENTATION NOTE</strong> - The feature set supported by
60 * this context initialization parameter is experimental, and no guarantees
61 * of backwards compatibility in future versions should be assumed.</p>
62 */
63 public static final String STRATEGY =
64 "org.apache.shale.dialog.basic.STRATEGY";
65
66
67 }