Enum ManagedObjectManagerInternal.AttributeDescriptorType

java.lang.Object
java.lang.Enum<ManagedObjectManagerInternal.AttributeDescriptorType>
org.glassfish.gmbal.impl.ManagedObjectManagerInternal.AttributeDescriptorType
All Implemented Interfaces:
Serializable, Comparable<ManagedObjectManagerInternal.AttributeDescriptorType>, java.lang.constant.Constable
Enclosing interface:
ManagedObjectManagerInternal

public static enum ManagedObjectManagerInternal.AttributeDescriptorType extends Enum<ManagedObjectManagerInternal.AttributeDescriptorType>
Used in getAttributes to indicate type of Attribute being considered. This matters because JMX (unforunately) defines different rules for converting method names to attribute ids in MBeans and in CompositeData: for MBeans, an initial get or set is stripped, leaving an ID with an initial upper case letter; for CompositeData, JMX follows the JavaBeans conventions, and converts the first letter of the ID to lower case. Since getAttributes is used in both cases, it needs to know the difference.