1 | /* |
2 | * Copyright 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.pluto.driver; |
17 | |
18 | /** |
19 | * Constants used as attribute keys to bind values to servlet context or servlet |
20 | * request. |
21 | * |
22 | * @author <a href="mailto:ddewolf@apache.org">David H. DeWolf</a> |
23 | * @author <a href="mailto:zheng@apache.org">ZHENG Zhong</a> |
24 | * @version 1.0 |
25 | * @since Sep 25, 2004 |
26 | */ |
27 | public class AttributeKeys { |
28 | |
29 | /** |
30 | * Attribute Key used to bind the application's driver config to the |
31 | * ServletContext. |
32 | */ |
33 | public static final String DRIVER_CONFIG = "driverConfig"; |
34 | |
35 | /** |
36 | * Attribute Key used to bind the application's driver admin config |
37 | * to the ServletContext. |
38 | */ |
39 | public static final String DRIVER_ADMIN_CONFIG = "driverAdminConfig"; |
40 | |
41 | /** |
42 | * Attribute Key used to bind the application's portlet container to the |
43 | * ServletContext. |
44 | */ |
45 | public static final String PORTLET_CONTAINER = "portletContainer"; |
46 | |
47 | /** Attribute key used to bind the current page to servlet request. */ |
48 | public static final String CURRENT_PAGE = "currentPage"; |
49 | |
50 | /** Attribute key used to bind the portlet title to servlet request. */ |
51 | public static final String PORTLET_TITLE = |
52 | "org.apache.pluto.driver.DynamicPortletTitle"; |
53 | |
54 | |
55 | // Constructor ------------------------------------------------------------- |
56 | |
57 | /** |
58 | * Private constructor that prevents external instantiation. |
59 | */ |
60 | private AttributeKeys() { |
61 | |
62 | } |
63 | } |
64 | |