Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/classes/com/sun/jmx/snmp/ServiceName.java
38924 views
/*1* Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425package com.sun.jmx.snmp;2627/**28* Used for storing default values used by SNMP Runtime services.29* <p><b>This API is an Oracle Corporation internal API and is subject30* to change without notice.</b></p>31*/32public class ServiceName {3334// private constructor defined to "hide" the default public constructor35private ServiceName() {36}3738/**39* The object name of the MBeanServer delegate object40* <BR>41* The value is <CODE>JMImplementation:type=MBeanServerDelegate</CODE>.42*/43public static final String DELEGATE = "JMImplementation:type=MBeanServerDelegate" ;4445/**46* The default key properties for registering the class loader of the MLet service.47* <BR>48* The value is <CODE>type=MLet</CODE>.49*/50public static final String MLET = "type=MLet";5152/**53* The default domain.54* <BR>55* The value is <CODE>DefaultDomain</CODE>.56*/57public static final String DOMAIN = "DefaultDomain";5859/**60* The default port for the RMI connector.61* <BR>62* The value is <CODE>1099</CODE>.63*/64public static final int RMI_CONNECTOR_PORT = 1099 ;6566/**67* The default key properties for the RMI connector.68* <BR>69* The value is <CODE>name=RmiConnectorServer</CODE>.70*/71public static final String RMI_CONNECTOR_SERVER = "name=RmiConnectorServer" ;7273/**74* The default port for the SNMP adaptor.75* <BR>76* The value is <CODE>161</CODE>.77*/78public static final int SNMP_ADAPTOR_PORT = 161 ;7980/**81* The default key properties for the SNMP protocol adaptor.82* <BR>83* The value is <CODE>name=SnmpAdaptorServer</CODE>.84*/85public static final String SNMP_ADAPTOR_SERVER = "name=SnmpAdaptorServer" ;8687/**88* The default port for the HTTP connector.89* <BR>90* The value is <CODE>8081</CODE>.91*/92public static final int HTTP_CONNECTOR_PORT = 8081 ;9394/**95* The default key properties for the HTTP connector.96* <BR>97* The value is <CODE>name=HttpConnectorServer</CODE>.98*/99public static final String HTTP_CONNECTOR_SERVER = "name=HttpConnectorServer" ;100101/**102* The default port for the HTTPS connector.103* <BR>104* The value is <CODE>8084</CODE>.105*/106public static final int HTTPS_CONNECTOR_PORT = 8084 ;107108/**109* The default key properties for the HTTPS connector.110* <BR>111* The value is <CODE>name=HttpsConnectorServer</CODE>.112*/113public static final String HTTPS_CONNECTOR_SERVER = "name=HttpsConnectorServer" ;114115/**116* The default port for the HTML adaptor.117* <BR>118* The value is <CODE>8082</CODE>.119*/120public static final int HTML_ADAPTOR_PORT = 8082 ;121122/**123* The default key properties for the HTML protocol adaptor.124* <BR>125* The value is <CODE>name=HtmlAdaptorServer</CODE>.126*/127public static final String HTML_ADAPTOR_SERVER = "name=HtmlAdaptorServer" ;128129/**130* The name of the JMX specification implemented by this product.131* <BR>132* The value is <CODE>Java Management Extensions</CODE>.133*/134public static final String JMX_SPEC_NAME = "Java Management Extensions";135136/**137* The version of the JMX specification implemented by this product.138* <BR>139* The value is <CODE>1.0 Final Release</CODE>.140*/141public static final String JMX_SPEC_VERSION = "1.2 Maintenance Release";142143/**144* The vendor of the JMX specification implemented by this product.145* <BR>146* The value is <CODE>Oracle Corporation</CODE>.147*/148public static final String JMX_SPEC_VENDOR = "Oracle Corporation";149150/**151* The name of the vendor of this product implementing the JMX specification.152* <BR>153* The value is <CODE>Oracle Corporation</CODE>.154*/155public static final String JMX_IMPL_VENDOR = "Oracle Corporation";156157/**158* The build number of the current product version, of the form <CODE>rXX</CODE>.159*/160public static final String BUILD_NUMBER = "r01";161162/**163* The version of this product implementing the JMX specification.164* <BR>165* The value is <CODE>5.1_rXX</CODE>, where <CODE>rXX</CODE> is the <CODE>BUILD_NUMBER</CODE> .166*/167public static final String JMX_IMPL_VERSION = "5.1_" + BUILD_NUMBER;168169}170171172