/* * @(#)ServiceName.java 1.114 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.sun.jmx.defaults; import java.security.AccessController; import java.security.PrivilegedAction; /** * Used for storing default values used by JMX services. * * @since 1.5 */ public class ServiceName { // private constructor defined to "hide" the default public constructor private ServiceName() { } /** * The object name of the MBeanServer delegate object *
* The value is JMImplementation:type=MBeanServerDelegate. */ public static final String DELEGATE = "JMImplementation:type=MBeanServerDelegate" ; /** * The default key properties for registering the class loader of the * MLet service. *
* The value is type=MLet. */ public static final String MLET = "type=MLet"; /** * The default domain. *
* The value is DefaultDomain. */ public static final String DOMAIN = "DefaultDomain"; /** * The name of the JMX specification implemented by this product. *
* The value is Java Management Extensions. */ public static final String JMX_SPEC_NAME = "Java Management Extensions"; /** * The version of the JMX specification implemented by this product. *
* The value is 1.0 Final Release. */ public static final String JMX_SPEC_VERSION = "1.2 Maintenance Release"; /** * The vendor of the JMX specification implemented by this product. *
* The value is Sun Microsystems. */ public static final String JMX_SPEC_VENDOR = "Sun Microsystems"; /** * The name of this product implementing the JMX specification. *
* The value is JMX. */ public static final String JMX_IMPL_NAME = "JMX"; /** * The name of the vendor of this product implementing the * JMX specification. *
* The value is Sun Microsystems. */ public static final String JMX_IMPL_VENDOR = "Sun Microsystems"; /** * The version of this implementation of the JMX specification. *
* For example, with a JMX implementation as part of the * Java Runtime Environment, this property has the same value as * the java.runtime.version system property. */ public static final String JMX_IMPL_VERSION = (String) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { return System.getProperty("java.runtime.version"); } }); }