01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: package org.apache.pluto.driver;
18:
19: /**
20: * Constants used as attribute keys to bind values to servlet context or servlet
21: * request.
22: *
23: * @version 1.0
24: * @since Sep 25, 2004
25: */
26: public class AttributeKeys {
27:
28: /**
29: * Attribute Key used to bind the application's driver config to the
30: * ServletContext.
31: */
32: public static final String DRIVER_CONFIG = "driverConfig";
33:
34: /**
35: * Attribute Key used to bind the application's driver admin config
36: * to the ServletContext.
37: */
38: public static final String DRIVER_ADMIN_CONFIG = "driverAdminConfig";
39:
40: /**
41: * Attribute Key used to bind the application's portlet container to the
42: * ServletContext.
43: */
44: public static final String PORTLET_CONTAINER = "portletContainer";
45:
46: /** Attribute key used to bind the current page to servlet request. */
47: public static final String CURRENT_PAGE = "currentPage";
48:
49: /** Attribute key used to bind the portlet title to servlet request. */
50: public static final String PORTLET_TITLE = "org.apache.pluto.driver.DynamicPortletTitle";
51:
52: public static final String PORTAL_URL_PARSER = "PORTAL_URL_PARSER";
53:
54: // Constructor -------------------------------------------------------------
55:
56: /**
57: * Private constructor that prevents external instantiation.
58: */
59: private AttributeKeys() {
60:
61: }
62: }
|