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. package com.sun.jmx.snmp;
  11. /**
  12. * Used for storing default values used by SNMP Runtime services.
  13. * <p><b>This API is a Sun Microsystems internal API and is subject
  14. * to change without notice.</b></p>
  15. */
  16. public class ServiceName {
  17. // private constructor defined to "hide" the default public constructor
  18. private ServiceName() {
  19. }
  20. /**
  21. * The object name of the MBeanServer delegate object
  22. * <BR>
  23. * The value is <CODE>JMImplementation:type=MBeanServerDelegate</CODE>.
  24. */
  25. public static final String DELEGATE = "JMImplementation:type=MBeanServerDelegate" ;
  26. /**
  27. * The default key properties for registering the class loader of the MLet service.
  28. * <BR>
  29. * The value is <CODE>type=MLet</CODE>.
  30. */
  31. public static final String MLET = "type=MLet";
  32. /**
  33. * The default domain.
  34. * <BR>
  35. * The value is <CODE>DefaultDomain</CODE>.
  36. */
  37. public static final String DOMAIN = "DefaultDomain";
  38. /**
  39. * The default port for the RMI connector.
  40. * <BR>
  41. * The value is <CODE>1099</CODE>.
  42. */
  43. public static final int RMI_CONNECTOR_PORT = 1099 ;
  44. /**
  45. * The default key properties for the RMI connector.
  46. * <BR>
  47. * The value is <CODE>name=RmiConnectorServer</CODE>.
  48. */
  49. public static final String RMI_CONNECTOR_SERVER = "name=RmiConnectorServer" ;
  50. /**
  51. * The default port for the SNMP adaptor.
  52. * <BR>
  53. * The value is <CODE>161</CODE>.
  54. */
  55. public static final int SNMP_ADAPTOR_PORT = 161 ;
  56. /**
  57. * The default key properties for the SNMP protocol adaptor.
  58. * <BR>
  59. * The value is <CODE>name=SnmpAdaptorServer</CODE>.
  60. */
  61. public static final String SNMP_ADAPTOR_SERVER = "name=SnmpAdaptorServer" ;
  62. /**
  63. * The default port for the HTTP connector.
  64. * <BR>
  65. * The value is <CODE>8081</CODE>.
  66. */
  67. public static final int HTTP_CONNECTOR_PORT = 8081 ;
  68. /**
  69. * The default key properties for the HTTP connector.
  70. * <BR>
  71. * The value is <CODE>name=HttpConnectorServer</CODE>.
  72. */
  73. public static final String HTTP_CONNECTOR_SERVER = "name=HttpConnectorServer" ;
  74. /**
  75. * The default port for the HTTPS connector.
  76. * <BR>
  77. * The value is <CODE>8084</CODE>.
  78. */
  79. public static final int HTTPS_CONNECTOR_PORT = 8084 ;
  80. /**
  81. * The default key properties for the HTTPS connector.
  82. * <BR>
  83. * The value is <CODE>name=HttpsConnectorServer</CODE>.
  84. */
  85. public static final String HTTPS_CONNECTOR_SERVER = "name=HttpsConnectorServer" ;
  86. /**
  87. * The default port for the HTML adaptor.
  88. * <BR>
  89. * The value is <CODE>8082</CODE>.
  90. */
  91. public static final int HTML_ADAPTOR_PORT = 8082 ;
  92. /**
  93. * The default key properties for the HTML protocol adaptor.
  94. * <BR>
  95. * The value is <CODE>name=HtmlAdaptorServer</CODE>.
  96. */
  97. public static final String HTML_ADAPTOR_SERVER = "name=HtmlAdaptorServer" ;
  98. /**
  99. * The name of the JMX specification implemented by this product.
  100. * <BR>
  101. * The value is <CODE>Java Management Extensions</CODE>.
  102. */
  103. public static final String JMX_SPEC_NAME = "Java Management Extensions";
  104. /**
  105. * The version of the JMX specification implemented by this product.
  106. * <BR>
  107. * The value is <CODE>1.0 Final Release</CODE>.
  108. */
  109. public static final String JMX_SPEC_VERSION = "1.2 Maintenance Release";
  110. /**
  111. * The vendor of the JMX specification implemented by this product.
  112. * <BR>
  113. * The value is <CODE>Sun Microsystems</CODE>.
  114. */
  115. public static final String JMX_SPEC_VENDOR = "Sun Microsystems";
  116. /**
  117. * The name of the vendor of this product implementing the JMX specification.
  118. * <BR>
  119. * The value is <CODE>Sun Microsystems</CODE>.
  120. */
  121. public static final String JMX_IMPL_VENDOR = "Sun Microsystems";
  122. /**
  123. * The build number of the current product version, of the form <CODE>rXX</CODE>.
  124. */
  125. public static final String BUILD_NUMBER = "r01";
  126. /**
  127. * The version of this product implementing the JMX specification.
  128. * <BR>
  129. * The value is <CODE>5.1_rXX</CODE>, where <CODE>rXX</CODE> is the <CODE>BUILD_NUMBER</CODE> .
  130. */
  131. public static final String JMX_IMPL_VERSION = "5.1_" + BUILD_NUMBER;
  132. }