KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > jmx > remote > DefaultConfiguration


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 /* CVS information
25  * $Header: /cvs/glassfish/jmx-remote/rjmx-impl/src/java/com/sun/enterprise/admin/jmx/remote/DefaultConfiguration.java,v 1.4 2005/12/25 04:26:29 tcfujii Exp $
26  * $Revision: 1.4 $
27  * $Date: 2005/12/25 04:26:29 $
28 */

29
30 package com.sun.enterprise.admin.jmx.remote;
31 /**
32  * A class that holds the default information for this implementation. Place holder for defaults.
33  * @author Kedar Mhaswade
34  * @since S1AS8.0
35  * @version 1.0
36 */

37
38 public final class DefaultConfiguration {
39     public static final String JavaDoc ADMIN_USER_ENV_PROPERTY_NAME = "USER";
40     public static final String JavaDoc ADMIN_PASSWORD_ENV_PROPERTY_NAME = "PASSWORD";
41             
42     //Class instance of an instance of X509TrustManager (defaults to DEFAULT_TRUST_MANAGER)
43
public static final String JavaDoc TRUST_MANAGER_PROPERTY_NAME = "TRUST_MANAGER_KEY";
44     
45     //Class instance of an instance of X509KeyManager (no defaults)
46
public static final String JavaDoc KEY_MANAGER_PROPERTY_NAME = "KEYMANAGER_KEY";
47     
48     //Class instance of a SSLSocketFactory(defaults to the configured ssl socket
49
//factory obtained through SSLContext)SunOneB
50
public static final String JavaDoc SSL_SOCKET_FACTORY = "SSL_SOCKET_FACTORY";
51
52     //Class instance of an instance of HostnameVerifier (defaults to DEFAULT_HOST_NAME_VERIFIER)
53
public static final String JavaDoc HOSTNAME_VERIFIER_PROPERTY_NAME = "HOSTNAME_VERIFIER_KEY";
54
55     //Class instance of an instance of IStringManager (defaults to com.sun.enterprise.admin.jmx.remote.StringManager)
56
public static final String JavaDoc STRING_MANAGER_CLASS_NAME = "STRING_MANAGER_CLASS_KEY";
57     
58     //Default JES Trust Manager class name
59
public static final String JavaDoc DEFAULT_TRUST_MANAGER = "com.sun.enterprise.security.trustmanager.SunOneBasicX509TrustManager";
60     
61     public static final String JavaDoc SERVLET_CONTEXT_PROPERTY_NAME = "com.sun.enterprise.as.context.root";
62     public static final String JavaDoc HTTP_AUTH_PROPERTY_NAME = "com.sun.enterprise.as.http.auth";
63     
64     public static final String JavaDoc DEFAULT_SERVLET_CONTEXT_ROOT = "/web1/remotejmx"; /* This is to be in sync with the web.xml */
65     public static final String JavaDoc DEFAULT_HTTP_AUTH_SCHEME = "BASIC";
66     public static final String JavaDoc DIGEST_HTTP_AUTH_SCHEME = "Digest";
67     
68     public static final String JavaDoc S1_HTTP_PROTOCOL = "s1ashttp";
69     public static final String JavaDoc S1_HTTPS_PROTOCOL = "s1ashttps";
70 /* BEGIN -- S1WS_MOD */
71     public static final String JavaDoc NOTIF_ENABLED_PROPERTY_NAME = "com.sun.jmx.remote.http.notification.enabled";
72     public static final String JavaDoc NOTIF_BUFSIZ_PROPERTY_NAME = "com.sun.jmx.remote.http.notification.bufsize";
73     public static final String JavaDoc MBEANSERVER_FACTORY_PROPERTY_NAME = "com.sun.jmx.remote.http.MBeanServerFactory.class";
74
75     public static final int NOTIF_WAIT_INTERVAL = 10000; // in millis
76
public static final int NOTIF_MIN_BUFSIZ = 10;
77     public static final int NOTIF_MAX_BUFSIZ = 50;
78     public static final int NOTIF_CONNECT_TIMEOUT = 2000; // in millis
79
public static final int NOTIF_TOTAL_RECONNECTS_BEFORE_TIMEOUT = 3;
80
81     public static final String JavaDoc NOTIF_MGR_PATHINFO = "/NotificationManager";
82     public static final String JavaDoc NOTIF_ID_PARAM = "id";
83     public static final String JavaDoc NOTIF_CMD_PARAM = "cmd";
84     public static final String JavaDoc NOTIF_CMD_CLOSE = "close";
85 /* END -- S1WS_MOD */
86     
87     public static final String JavaDoc JMXCONNECTOR_LOGGER = "com.sun.logging.enterprise.system.admin.jmx.connector";
88     public static final String JavaDoc LOGGER_RESOURCE_BUNDLE_NAME = ".LogStrings";
89     
90     private DefaultConfiguration() {
91     }
92 }
93
Popular Tags