KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jmx > snmp > ServiceName


1 /*
2  * @(#)file ServiceName.java
3  * @(#)author Sun Microsystems, Inc.
4  * @(#)version 1.39
5  * @(#)date 00/07/18
6  *
7  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
8  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
9  */

10
11 package com.sun.jmx.snmp;
12
13 /**
14  * Used for storing default values used by SNMP Runtime services.
15  * <p><b>This API is a Sun Microsystems internal API and is subject
16  * to change without notice.</b></p>
17  */

18 public class ServiceName {
19
20     // private constructor defined to "hide" the default public constructor
21
private ServiceName() {
22     }
23
24     /**
25      * The object name of the MBeanServer delegate object
26      * <BR>
27      * The value is <CODE>JMImplementation:type=MBeanServerDelegate</CODE>.
28      */

29     public static final String JavaDoc DELEGATE = "JMImplementation:type=MBeanServerDelegate" ;
30
31     /**
32      * The default key properties for registering the class loader of the MLet service.
33      * <BR>
34      * The value is <CODE>type=MLet</CODE>.
35      */

36     public static final String JavaDoc MLET = "type=MLet";
37
38     /**
39      * The default domain.
40      * <BR>
41      * The value is <CODE>DefaultDomain</CODE>.
42      */

43     public static final String JavaDoc DOMAIN = "DefaultDomain";
44
45     /**
46      * The default port for the RMI connector.
47      * <BR>
48      * The value is <CODE>1099</CODE>.
49      */

50     public static final int RMI_CONNECTOR_PORT = 1099 ;
51
52     /**
53      * The default key properties for the RMI connector.
54      * <BR>
55      * The value is <CODE>name=RmiConnectorServer</CODE>.
56      */

57     public static final String JavaDoc RMI_CONNECTOR_SERVER = "name=RmiConnectorServer" ;
58
59     /**
60      * The default port for the SNMP adaptor.
61      * <BR>
62      * The value is <CODE>161</CODE>.
63      */

64     public static final int SNMP_ADAPTOR_PORT = 161 ;
65
66     /**
67      * The default key properties for the SNMP protocol adaptor.
68      * <BR>
69      * The value is <CODE>name=SnmpAdaptorServer</CODE>.
70      */

71     public static final String JavaDoc SNMP_ADAPTOR_SERVER = "name=SnmpAdaptorServer" ;
72
73     /**
74      * The default port for the HTTP connector.
75      * <BR>
76      * The value is <CODE>8081</CODE>.
77      */

78     public static final int HTTP_CONNECTOR_PORT = 8081 ;
79
80     /**
81      * The default key properties for the HTTP connector.
82      * <BR>
83      * The value is <CODE>name=HttpConnectorServer</CODE>.
84      */

85     public static final String JavaDoc HTTP_CONNECTOR_SERVER = "name=HttpConnectorServer" ;
86
87     /**
88      * The default port for the HTTPS connector.
89      * <BR>
90      * The value is <CODE>8084</CODE>.
91      */

92     public static final int HTTPS_CONNECTOR_PORT = 8084 ;
93
94     /**
95      * The default key properties for the HTTPS connector.
96      * <BR>
97      * The value is <CODE>name=HttpsConnectorServer</CODE>.
98      */

99     public static final String JavaDoc HTTPS_CONNECTOR_SERVER = "name=HttpsConnectorServer" ;
100
101     /**
102      * The default port for the HTML adaptor.
103      * <BR>
104      * The value is <CODE>8082</CODE>.
105      */

106     public static final int HTML_ADAPTOR_PORT = 8082 ;
107
108     /**
109      * The default key properties for the HTML protocol adaptor.
110      * <BR>
111      * The value is <CODE>name=HtmlAdaptorServer</CODE>.
112      */

113     public static final String JavaDoc HTML_ADAPTOR_SERVER = "name=HtmlAdaptorServer" ;
114
115     /**
116      * The name of the JMX specification implemented by this product.
117      * <BR>
118      * The value is <CODE>Java Management Extensions</CODE>.
119      */

120     public static final String JavaDoc JMX_SPEC_NAME = "Java Management Extensions";
121
122     /**
123      * The version of the JMX specification implemented by this product.
124      * <BR>
125      * The value is <CODE>1.0 Final Release</CODE>.
126      */

127     public static final String JavaDoc JMX_SPEC_VERSION = "1.2 Maintenance Release";
128
129     /**
130      * The vendor of the JMX specification implemented by this product.
131      * <BR>
132      * The value is <CODE>Sun Microsystems</CODE>.
133      */

134     public static final String JavaDoc JMX_SPEC_VENDOR = "Sun Microsystems";
135
136     /**
137      * The name of the vendor of this product implementing the JMX specification.
138      * <BR>
139      * The value is <CODE>Sun Microsystems</CODE>.
140      */

141     public static final String JavaDoc JMX_IMPL_VENDOR = "Sun Microsystems";
142
143     /**
144       * The build number of the current product version, of the form <CODE>rXX</CODE>.
145       */

146     public static final String JavaDoc BUILD_NUMBER = "r01";
147
148     /**
149      * The version of this product implementing the JMX specification.
150      * <BR>
151      * The value is <CODE>5.1_rXX</CODE>, where <CODE>rXX</CODE> is the <CODE>BUILD_NUMBER</CODE> .
152      */

153     public static final String JavaDoc JMX_IMPL_VERSION = "5.1_" + BUILD_NUMBER;
154
155 }
156
Popular Tags