Class AMX


  • public final class AMX
    extends java.lang.Object
    Constants reflecting the AMX specification. See https://glassfish.dev.java.net/nonav/v3/admin/planning/V3Changes/V3_AMX_SPI.html
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ATTR_CHILDREN
      Attribute yielding the children as an ObjectName[]
      static java.lang.String ATTR_NAME
      Attribute yielding the name of the MBean, possibly differing from the name as found in the ObjectName via the property NAME_KEY
      static java.lang.String ATTR_PARENT
      Attribute yielding the ObjectName of the parent MBean
      static java.lang.String DESC_GENERIC_INTERFACE_NAME
      Descriptor value: The generic AMX interface to be used if the class found in DESC_STD_INTERFACE_NAME cannot be loaded.
      static java.lang.String DESC_GROUP
      Descriptor value: Arbitrary string denoting the general classification of MBean.
      static java.lang.String DESC_IS_GLOBAL_SINGLETON
      Descriptor value: whether the MBean is a global singleton eg whether in the AMX domain it can be looked up by its type and is the only MBean of that type.
      static java.lang.String DESC_IS_SINGLETON
      Descriptor value: whether the MBean is a singleton, in spite of having a name property in its ObjectName.
      static java.lang.String DESC_PREFIX
      Prefix for AMX descriptor fields
      static java.lang.String DESC_STD_IMMUTABLE_INFO
      Descriptor value defined by JMX standard: whether the MBeanInfo is *invariant* (immutable is a misnomer).
      static java.lang.String DESC_STD_INTERFACE_NAME
      Descriptor value defined by JMX standard, the classname of the interface for the MBean.
      static java.lang.String DESC_SUB_TYPES
      Descriptor value: denotes the possible types of MBeans that children might be.
      static java.lang.String DESC_SUPPORTS_ADOPTION
      Descriptor value: whether new children may be added by code other than the implementation responsible for the MBean; this allows extension points within the hierarchy.
      static java.lang.String GROUP_CONFIGURATION
      Group value indicating that the AMX is a configuration MBean.
      static java.lang.String GROUP_JSR77
      Group value indicating that the AMX is a JSR 77 MBean (J2EE Management) .
      static java.lang.String GROUP_MONITORING
      Group value indicating that the AMX represents a monitoring MBean.
      static java.lang.String GROUP_OTHER
      Group value indicating that the AMX is not one of the other types.
      static java.lang.String GROUP_UTILITY
      Group value indicating that the AMX is a utility MBean.
      static java.lang.String NAME_KEY
      ObjectName property for the name
      static java.lang.String NO_NAME
      Implied name for singletons when the name property is not present
      static java.lang.String NOTIFICATION_PREFIX
      Prefix for AMX notification types
      static java.lang.String PARENT_PATH_KEY
      The ObjectName property key denoting the path of the parent MBean.
      static java.lang.String TYPE_KEY
      ObjectName property for the type
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AMX()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ATTR_PARENT

        public static final java.lang.String ATTR_PARENT
        Attribute yielding the ObjectName of the parent MBean
        See Also:
        Constant Field Values
      • ATTR_CHILDREN

        public static final java.lang.String ATTR_CHILDREN
        Attribute yielding the children as an ObjectName[]
        See Also:
        Constant Field Values
      • ATTR_NAME

        public static final java.lang.String ATTR_NAME
        Attribute yielding the name of the MBean, possibly differing from the name as found in the ObjectName via the property NAME_KEY
        See Also:
        Constant Field Values
      • TYPE_KEY

        public static final java.lang.String TYPE_KEY
        ObjectName property for the type
        See Also:
        Constant Field Values
      • NAME_KEY

        public static final java.lang.String NAME_KEY
        ObjectName property for the name
        See Also:
        Constant Field Values
      • NO_NAME

        public static final java.lang.String NO_NAME
        Implied name for singletons when the name property is not present
        See Also:
        Constant Field Values
      • PARENT_PATH_KEY

        public static final java.lang.String PARENT_PATH_KEY
        The ObjectName property key denoting the path of the parent MBean. Serves to disambiguitate the ObjectName from others that might have the same type and/or name elsewhere in the hierarchy.
        See Also:
        Constant Field Values
      • DESC_PREFIX

        public static final java.lang.String DESC_PREFIX
        Prefix for AMX descriptor fields
        See Also:
        Constant Field Values
      • NOTIFICATION_PREFIX

        public static final java.lang.String NOTIFICATION_PREFIX
        Prefix for AMX notification types
        See Also:
        Constant Field Values
      • DESC_STD_IMMUTABLE_INFO

        public static final java.lang.String DESC_STD_IMMUTABLE_INFO
        Descriptor value defined by JMX standard: whether the MBeanInfo is *invariant* (immutable is a misnomer).
        See Also:
        Constant Field Values
      • DESC_STD_INTERFACE_NAME

        public static final java.lang.String DESC_STD_INTERFACE_NAME
        Descriptor value defined by JMX standard, the classname of the interface for the MBean. Mainly advisory, since client code might not have access to the class.
        See Also:
        Constant Field Values
      • DESC_GENERIC_INTERFACE_NAME

        public static final java.lang.String DESC_GENERIC_INTERFACE_NAME
        Descriptor value: The generic AMX interface to be used if the class found in DESC_STD_INTERFACE_NAME cannot be loaded. The class specified here must reside in the amx-core module eg org.glassfish.admin.amx.core eg AMXProxy or AMXConfigProxy.
        See Also:
        Constant Field Values
      • DESC_IS_SINGLETON

        public static final java.lang.String DESC_IS_SINGLETON
        Descriptor value: whether the MBean is a singleton, in spite of having a name property in its ObjectName. This is mainly for compatibility; named singletons are strongly discouraged.
        See Also:
        Constant Field Values
      • DESC_IS_GLOBAL_SINGLETON

        public static final java.lang.String DESC_IS_GLOBAL_SINGLETON
        Descriptor value: whether the MBean is a global singleton eg whether in the AMX domain it can be looked up by its type and is the only MBean of that type.
        See Also:
        Constant Field Values
      • DESC_GROUP

        public static final java.lang.String DESC_GROUP
        Descriptor value: Arbitrary string denoting the general classification of MBean. Predefined values include "configuration", "monitoring", "jsr77", "utility", "other".
        See Also:
        Constant Field Values
      • DESC_SUPPORTS_ADOPTION

        public static final java.lang.String DESC_SUPPORTS_ADOPTION
        Descriptor value: whether new children may be added by code other than the implementation responsible for the MBean; this allows extension points within the hierarchy. Adding a new child means registering an MBean with an ObjectName that implies parentage via the ancestry type=name pairs.
        See Also:
        Constant Field Values
      • DESC_SUB_TYPES

        public static final java.lang.String DESC_SUB_TYPES
        Descriptor value: denotes the possible types of MBeans that children might be. If present, SHOULD include all possible and pre-known types. An empty array indicates that child MBeans might exist, but their types cannot be predicted.
        See Also:
        Constant Field Values
      • GROUP_CONFIGURATION

        public static final java.lang.String GROUP_CONFIGURATION
        Group value indicating that the AMX is a configuration MBean.
        See Also:
        Constant Field Values
      • GROUP_MONITORING

        public static final java.lang.String GROUP_MONITORING
        Group value indicating that the AMX represents a monitoring MBean.
        See Also:
        Constant Field Values
      • GROUP_UTILITY

        public static final java.lang.String GROUP_UTILITY
        Group value indicating that the AMX is a utility MBean.
        See Also:
        Constant Field Values
      • GROUP_JSR77

        public static final java.lang.String GROUP_JSR77
        Group value indicating that the AMX is a JSR 77 MBean (J2EE Management) .
        See Also:
        Constant Field Values
      • GROUP_OTHER

        public static final java.lang.String GROUP_OTHER
        Group value indicating that the AMX is not one of the other types.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AMX

        private AMX()