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