J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 1999-2003 Sun Microsystems, Inc. All Rights Reserved. |
| 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of the GNU General Public License version 2 only, as |
| 7 | * published by the Free Software Foundation. Sun designates this |
| 8 | * particular file as subject to the "Classpath" exception as provided |
| 9 | * by Sun in the LICENSE file that accompanied this code. |
| 10 | * |
| 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 14 | * version 2 for more details (a copy is included in the LICENSE file that |
| 15 | * accompanied this code). |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License version |
| 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
| 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | * |
| 21 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
| 22 | * CA 95054 USA or visit www.sun.com if you need additional information or |
| 23 | * have any questions. |
| 24 | */ |
| 25 | |
| 26 | package com.sun.jmx.snmp; |
| 27 | |
| 28 | /** |
| 29 | * Used for storing default values used by SNMP Runtime services. |
| 30 | * <p><b>This API is a Sun Microsystems internal API and is subject |
| 31 | * to change without notice.</b></p> |
| 32 | */ |
| 33 | public class ServiceName { |
| 34 | |
| 35 | // private constructor defined to "hide" the default public constructor |
| 36 | private ServiceName() { |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * The object name of the MBeanServer delegate object |
| 41 | * <BR> |
| 42 | * The value is <CODE>JMImplementation:type=MBeanServerDelegate</CODE>. |
| 43 | */ |
| 44 | public static final String DELEGATE = "JMImplementation:type=MBeanServerDelegate" ; |
| 45 | |
| 46 | /** |
| 47 | * The default key properties for registering the class loader of the MLet service. |
| 48 | * <BR> |
| 49 | * The value is <CODE>type=MLet</CODE>. |
| 50 | */ |
| 51 | public static final String MLET = "type=MLet"; |
| 52 | |
| 53 | /** |
| 54 | * The default domain. |
| 55 | * <BR> |
| 56 | * The value is <CODE>DefaultDomain</CODE>. |
| 57 | */ |
| 58 | public static final String DOMAIN = "DefaultDomain"; |
| 59 | |
| 60 | /** |
| 61 | * The default port for the RMI connector. |
| 62 | * <BR> |
| 63 | * The value is <CODE>1099</CODE>. |
| 64 | */ |
| 65 | public static final int RMI_CONNECTOR_PORT = 1099 ; |
| 66 | |
| 67 | /** |
| 68 | * The default key properties for the RMI connector. |
| 69 | * <BR> |
| 70 | * The value is <CODE>name=RmiConnectorServer</CODE>. |
| 71 | */ |
| 72 | public static final String RMI_CONNECTOR_SERVER = "name=RmiConnectorServer" ; |
| 73 | |
| 74 | /** |
| 75 | * The default port for the SNMP adaptor. |
| 76 | * <BR> |
| 77 | * The value is <CODE>161</CODE>. |
| 78 | */ |
| 79 | public static final int SNMP_ADAPTOR_PORT = 161 ; |
| 80 | |
| 81 | /** |
| 82 | * The default key properties for the SNMP protocol adaptor. |
| 83 | * <BR> |
| 84 | * The value is <CODE>name=SnmpAdaptorServer</CODE>. |
| 85 | */ |
| 86 | public static final String SNMP_ADAPTOR_SERVER = "name=SnmpAdaptorServer" ; |
| 87 | |
| 88 | /** |
| 89 | * The default port for the HTTP connector. |
| 90 | * <BR> |
| 91 | * The value is <CODE>8081</CODE>. |
| 92 | */ |
| 93 | public static final int HTTP_CONNECTOR_PORT = 8081 ; |
| 94 | |
| 95 | /** |
| 96 | * The default key properties for the HTTP connector. |
| 97 | * <BR> |
| 98 | * The value is <CODE>name=HttpConnectorServer</CODE>. |
| 99 | */ |
| 100 | public static final String HTTP_CONNECTOR_SERVER = "name=HttpConnectorServer" ; |
| 101 | |
| 102 | /** |
| 103 | * The default port for the HTTPS connector. |
| 104 | * <BR> |
| 105 | * The value is <CODE>8084</CODE>. |
| 106 | */ |
| 107 | public static final int HTTPS_CONNECTOR_PORT = 8084 ; |
| 108 | |
| 109 | /** |
| 110 | * The default key properties for the HTTPS connector. |
| 111 | * <BR> |
| 112 | * The value is <CODE>name=HttpsConnectorServer</CODE>. |
| 113 | */ |
| 114 | public static final String HTTPS_CONNECTOR_SERVER = "name=HttpsConnectorServer" ; |
| 115 | |
| 116 | /** |
| 117 | * The default port for the HTML adaptor. |
| 118 | * <BR> |
| 119 | * The value is <CODE>8082</CODE>. |
| 120 | */ |
| 121 | public static final int HTML_ADAPTOR_PORT = 8082 ; |
| 122 | |
| 123 | /** |
| 124 | * The default key properties for the HTML protocol adaptor. |
| 125 | * <BR> |
| 126 | * The value is <CODE>name=HtmlAdaptorServer</CODE>. |
| 127 | */ |
| 128 | public static final String HTML_ADAPTOR_SERVER = "name=HtmlAdaptorServer" ; |
| 129 | |
| 130 | /** |
| 131 | * The name of the JMX specification implemented by this product. |
| 132 | * <BR> |
| 133 | * The value is <CODE>Java Management Extensions</CODE>. |
| 134 | */ |
| 135 | public static final String JMX_SPEC_NAME = "Java Management Extensions"; |
| 136 | |
| 137 | /** |
| 138 | * The version of the JMX specification implemented by this product. |
| 139 | * <BR> |
| 140 | * The value is <CODE>1.0 Final Release</CODE>. |
| 141 | */ |
| 142 | public static final String JMX_SPEC_VERSION = "1.2 Maintenance Release"; |
| 143 | |
| 144 | /** |
| 145 | * The vendor of the JMX specification implemented by this product. |
| 146 | * <BR> |
| 147 | * The value is <CODE>Sun Microsystems</CODE>. |
| 148 | */ |
| 149 | public static final String JMX_SPEC_VENDOR = "Sun Microsystems"; |
| 150 | |
| 151 | /** |
| 152 | * The name of the vendor of this product implementing the JMX specification. |
| 153 | * <BR> |
| 154 | * The value is <CODE>Sun Microsystems</CODE>. |
| 155 | */ |
| 156 | public static final String JMX_IMPL_VENDOR = "Sun Microsystems"; |
| 157 | |
| 158 | /** |
| 159 | * The build number of the current product version, of the form <CODE>rXX</CODE>. |
| 160 | */ |
| 161 | public static final String BUILD_NUMBER = "r01"; |
| 162 | |
| 163 | /** |
| 164 | * The version of this product implementing the JMX specification. |
| 165 | * <BR> |
| 166 | * The value is <CODE>5.1_rXX</CODE>, where <CODE>rXX</CODE> is the <CODE>BUILD_NUMBER</CODE> . |
| 167 | */ |
| 168 | public static final String JMX_IMPL_VERSION = "5.1_" + BUILD_NUMBER; |
| 169 | |
| 170 | } |