KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > web > Constants


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24
25 package com.sun.enterprise.web;
26
27
28 /**
29  * Static constants for this package.
30  */

31
32 public final class Constants {
33
34     public static final String JavaDoc Package = "com.sun.enterprise.web";
35
36     /**
37      * The default web application's deployment descriptor location.
38      *
39      * This path is relative to catalina.home i.e. the instance root directory.
40      */

41     public static final String JavaDoc DEFAULT_WEB_XML = "config/default-web.xml";
42
43     /**
44      * The system-assigned default web module's name/identifier.
45      *
46      * This has to be the same value as is in j2ee/WebModule.cpp.
47      */

48     public static final String JavaDoc DEFAULT_WEB_MODULE_NAME = "__default-web-module";
49
50     /**
51      * The separator character between an application name and the web
52      * module name within the application.
53      */

54     public static final String JavaDoc NAME_SEPARATOR =
55              com.sun.enterprise.server.Constants.NAME_SEPARATOR;
56
57     /**
58      * The string to prefix to the name of the web module when a web module
59      * is designated to be the default-web-module for a virtual server.
60      *
61      * This serves as a way to differentiate the web module from the
62      * variant that is deployed as a 'default web module' at a context root
63      * of "".
64      */

65     public static final String JavaDoc DEFAULT_WEB_MODULE_PREFIX = "__default-";
66
67     /**
68      * Name of the class that implements invocation/security/transaction
69      * manager hooks for web application events.
70      */

71     public static final String JavaDoc J2EE_INSTANCE_LISTENER =
72         "com.sun.web.server.J2EEInstanceListener";
73
74     /**
75      * The Apache Jasper JSP servlet class name.
76      */

77     public static final String JavaDoc APACHE_JSP_SERVLET_CLASS =
78         "org.apache.jasper.servlet.JspServlet";
79
80     public static final String JavaDoc JSP_URL_PATTERN="*.jsp";
81
82 }
83
Popular Tags