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.faces;
19  
20  import org.apache.shale.util.TokenProcessor;
21  
22  /***
23   * <p>{@link ShaleConstants} are manifest constants defining global identifiers shared across
24   * the internal implementation of the controller.  These constants
25   * need not be referenced by applications built on the framework.</p>
26   *
27   * $Id: ShaleConstants.java 464373 2006-10-16 04:21:54Z rahul $
28   */
29  public final class ShaleConstants {
30  
31      /***
32       * <p>Private constructor so that this class cannot be instantiated.</p>
33       */
34      private ShaleConstants() { }
35  
36  
37      /***
38       * <p>Application scope attribute that's an instance of
39       * <code>org.apache.shale.util.Tags</code>. This managed
40       * bean is defined in <code>faces-config.xml</code> and
41       * is used by custom tags.
42       *
43       */
44      public static final String TAG_UTILITY_BEAN =
45        "org.apache.shale.TAG_UTILITY_BEAN";
46  
47  
48      /***
49       * <p>Appication scope attribute key under which the
50       * {@link TokenProcessor} instance for this application is stored.</p>
51       */
52      public static final String TOKEN_PROCESSOR =
53        "org.apache.shale.TOKEN_PROCESSOR";
54  
55  
56      /***
57       * <p>Session scope attribute key under which we keep a <code>Set</code>
58       * containing the valid transaction tokens for this session.</p>
59       */
60      public static final String TOKENS = "org.apache.shale.TOKENS";
61  
62  
63  }