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.scxml;
19
20 import org.apache.shale.dialog.scxml.impl.DefaultDialogStateMapper;
21
22 /***
23 * <p>Manifest constants and well known event names for the
24 * Jakarta Commons SCXML driven Shale dialog implementation.</p>
25 *
26 * @since 1.0.4
27 */
28 public class Globals {
29
30
31 /***
32 * <p>Context initialization paramater name under which a comma separated
33 * list of configuration resources to be parsed exists.</p>
34 */
35 public static final String CONFIGURATION =
36 "org.apache.shale.dialog.scxml.CONFIGURATION";
37
38
39 /***
40 * <p>Application scope attribute under which a <code>Map</code> of
41 * dialog definitions (keyed by dialog name) is stored. A dialog
42 * definition is the Commons SCXML object model describing the dialog
43 * state machine.</p>
44 */
45 public static final String DIALOGS =
46 "org.apache.shale.dialog.scxml.DIALOGS";
47
48
49 /***
50 * <p>Application scope attribute under which the current
51 * {@link DialogStateMapper} implementation resides. Defaults to
52 * {@link DefaultDialogStateMapper}.</p>
53 */
54 public static final String STATE_MAPPER =
55 "org$apache$shale$dialog$scxml$STATE_MAPPER";
56
57
58 /***
59 * <p>The name of the postback event that the state machines should
60 * use to author transitions for, out of a "view" state.</p>
61 */
62 public static final String POSTBACK_EVENT =
63 "faces.outcome";
64
65
66 /***
67 * <p>The variable that holds the postback outcome in the root context
68 * of the state machine instance. Expressions within the SCXML document
69 * can then make references to this variable.</p>
70 */
71 public static final String POSTBACK_OUTCOME =
72 "outcome";
73
74
75 /***
76 * <p>The namespace URI for the custom Commons SCXML actions defined by
77 * the Shale dialogs Commons SCXML implementation.</p>
78 */
79 public static final String CUSTOM_SCXML_ACTIONS_URI =
80 "http://shale.apache.org/dialog-scxml";
81
82
83 /***
84 * <p>The key for saving dialog properties in the root context of the
85 * underlying Commons SCXML state machine. SCXML documents describing
86 * dialogs <em>must not</em> use this key as a <var> or <data>
87 * name.</p>
88 */
89 public static final String DIALOG_PROPERTIES =
90 "ReservedShaleDialogPropertiesKey";
91
92
93 }
94