2009/05/20 - Apache Shale has been retired.

For more information, please explore the Attic.

View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to you under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
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  }