Class AMX

java.lang.Object
org.glassfish.external.amx.AMX

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

    • ATTR_PARENT

      public static final String ATTR_PARENT
      Attribute yielding the ObjectName of the parent MBean
      See Also:
    • ATTR_CHILDREN

      public static final String ATTR_CHILDREN
      Attribute yielding the children as an ObjectName[]
      See Also:
    • ATTR_NAME

      public static final 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:
    • TYPE_KEY

      public static final String TYPE_KEY
      ObjectName property for the type
      See Also:
    • NAME_KEY

      public static final String NAME_KEY
      ObjectName property for the name
      See Also:
    • NO_NAME

      public static final String NO_NAME
      Implied name for singletons when the name property is not present
      See Also:
    • PARENT_PATH_KEY

      public static final 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:
    • DESC_PREFIX

      public static final String DESC_PREFIX
      Prefix for AMX descriptor fields
      See Also:
    • NOTIFICATION_PREFIX

      public static final String NOTIFICATION_PREFIX
      Prefix for AMX notification types
      See Also:
    • DESC_STD_IMMUTABLE_INFO

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

      public static final 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:
    • DESC_GENERIC_INTERFACE_NAME

      public static final 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:
    • DESC_IS_SINGLETON

      public static final 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:
    • DESC_IS_GLOBAL_SINGLETON

      public static final 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:
    • DESC_GROUP

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

      public static final 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:
    • DESC_SUB_TYPES

      public static final 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:
    • GROUP_CONFIGURATION

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

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

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

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

      public static final String GROUP_OTHER
      Group value indicating that the AMX is not one of the other types.
      See Also:
  • Constructor Details

    • AMX

      private AMX()