View Javadoc

1   /*
2    *  Copyright 1999-2004 The Apache Software Foundation.
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *  http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   */
16  package org.apache.struts.flow;
17  
18  /***
19   *  <p>
20   *
21   *  Global constants for the Chain of Responsibility Library.</p>
22   */
23  public final class Constants {
24  
25      // -------------------------------------------------- Context Attribute Keys
26  
27      /***
28       *  <p>
29       *
30       *  The default context attribute under which the forward name for
31       *  the current request will be stored.</p>
32       */
33      public final static String FORWARD_NAME_KEY = "forward";
34  
35      /***
36       *  <p>
37       *
38       *  The default context attribute under which the continuation id for
39       *  the current request will be stored.</p>
40       */
41      public final static String CONTINUATION_ID_KEY = "contId";
42  
43      /***
44       *  <p>
45       *
46       *  The default context attribute under which the business data for
47       *  the current request will be stored.</p>
48       */
49      public final static String BIZ_DATA_KEY = "bizData";
50  
51      
52      // ----------------------- Context Attribute Keys borrowed from Struts-Chain
53      
54      /***
55       *  <p>
56       *
57       *  The default context attribute under which the <code>Action</code> for
58       *  the current request will be stored.</p>
59       */
60      public final static String ACTION_KEY = "action";
61  
62      /***
63       *  <p>
64       *
65       *  The default context attribute under which the <code>ActionConfig</code>
66       *  for the current request will be stored.</p>
67       */
68      public final static String ACTION_CONFIG_KEY = "actionConfig";
69  
70      /***
71       *  <p>
72       *
73       *  The default context attribute under which the <code>ActionForm</code>
74       *  for the current request will be stored.</p>
75       */
76      public final static String ACTION_FORM_KEY = "actionForm";
77  
78      /***
79       *  <p>
80       *
81       *  The default context attribute under which the <code>ActionServet</code>
82       *  for the current application will be stored.</p>
83       */
84      public final static String ACTION_SERVLET_KEY = "actionServlet";
85  
86      /***
87       *  <p>
88       *
89       *  The default context attribute under which the <code>MessageResources</code>
90       *  for the current request will be stored.</p>
91       */
92      public final static String MESSAGE_RESOURCES_KEY = "messageResources";
93  
94  }
95