API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.openmbean. OpenMBeanAttributeInfoSupport View Source
Author(s)
Sun Microsystems, Inc.
Since
1.5
Version
3.43 06/03/15
Serial
Hierarchy
 Object
      MBeanFeatureInfo
          MBeanAttributeInfo
              OpenMBeanAttributeInfoSupport
Implements
 OpenMBeanAttributeInfo
Subclasses
Description
public class OpenMBeanAttributeInfoSupport
  Describes an attribute of an open MBean.
See also:   
Constructors
public OpenMBeanAttributeInfoSupport (String name, String description, OpenType<Object> openType, boolean isReadable, boolean isWritable, boolean isIs)
  Constructs an OpenMBeanAttributeInfoSupport instance, which describes the attribute of an open MBean with the specified name, openType and description, and the specified read/write access properties.
public OpenMBeanAttributeInfoSupport (String name, String description, OpenType<Object> openType, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor)
  Constructs an OpenMBeanAttributeInfoSupport instance, which describes the attribute of an open MBean with the specified name, openType, description, read/write access properties, and Descriptor.
public OpenMBeanAttributeInfoSupport (String name, String description, OpenType< T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue) throws OpenDataException
  Constructs an OpenMBeanAttributeInfoSupport instance, which describes the attribute of an open MBean with the specified name, openType, description and defaultValue, and the specified read/write access properties.
public OpenMBeanAttributeInfoSupport (String name, String description, OpenType< T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, Comparable< T> minValue, Comparable< T> maxValue) throws OpenDataException
  Constructs an OpenMBeanAttributeInfoSupport instance, which describes the attribute of an open MBean, with the specified name, openType, description, defaultValue, minValue and maxValue.
public OpenMBeanAttributeInfoSupport (String name, String description, OpenType< T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T legalValues) throws OpenDataException
  Constructs an OpenMBeanAttributeInfoSupport instance, which describes the attribute of an open MBean with the specified name, openType, description, defaultValue and legalValues, and the specified read/write access properties.
private OpenMBeanAttributeInfoSupport (String name, String description, OpenType< T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T legalValues, Comparable< T> minValue, Comparable< T> maxValue) throws OpenDataException
Methods
Hide/Show inherited methods
pack-privatestatic void check (OpenMBeanParameterInfo info) throws OpenDataException
public Object clone () [Inherited From MBeanAttributeInfo]
  Returns a shallow clone of this instance.
pack-privatestatic Comparable comparableValueFrom (Descriptor d, String name, OpenType< T> openType)
pack-privatestatic boolean equal (OpenMBeanParameterInfo x1, OpenMBeanParameterInfo x2)
public boolean equals (Object obj) [Overrides MBeanAttributeInfo] [Specified in OpenMBeanAttributeInfo]
  Compares the specified obj parameter with this OpenMBeanAttributeInfoSupport instance for equality.
public Object getDefaultValue ()
Returns the default value for the attribute described by this OpenMBeanAttributeInfoSupport instance, if specified, or null otherwise.
public String getDescription () [Inherited From MBeanFeatureInfo]
  Returns the human-readable description of the feature.
public Descriptor getDescriptor () [Inherited From MBeanFeatureInfo]
  Returns the descriptor for the feature.
public Set<Object> getLegalValues ()
Returns an unmodifiable Set of legal values for the attribute described by this OpenMBeanAttributeInfoSupport instance, if specified, or null otherwise.
public Comparable<Object> getMaxValue ()
Returns the maximal value for the attribute described by this OpenMBeanAttributeInfoSupport instance, if specified, or null otherwise.
public Comparable<Object> getMinValue ()
Returns the minimal value for the attribute described by this OpenMBeanAttributeInfoSupport instance, if specified, or null otherwise.
public String getName () [Inherited From MBeanFeatureInfo]
  Returns the name of the feature.
public OpenType<Object> getOpenType ()
Returns the open type for the values of the attribute described by this OpenMBeanAttributeInfoSupport instance.
public String getType () [Inherited From MBeanAttributeInfo]
  Returns the class name of the attribute.
public boolean hasDefaultValue ()
Returns true if this OpenMBeanAttributeInfoSupport instance specifies a non-null default value for the described attribute, false otherwise.
public int hashCode () [Overrides MBeanAttributeInfo] [Specified in OpenMBeanAttributeInfo]
  Returns the hash code value for this OpenMBeanAttributeInfoSupport instance.
pack-privatestatic int hashCode (OpenMBeanParameterInfo info)
public boolean hasLegalValues ()
Returns true if this OpenMBeanAttributeInfoSupport instance specifies a non-null set of legal values for the described attribute, false otherwise.
public boolean hasMaxValue ()
Returns true if this OpenMBeanAttributeInfoSupport instance specifies a non-null maximal value for the described attribute, false otherwise.
public boolean hasMinValue ()
Returns true if this OpenMBeanAttributeInfoSupport instance specifies a non-null minimal value for the described attribute, false otherwise.
public boolean isIs () [Inherited From MBeanAttributeInfo]
  Indicates if this attribute has an "is" getter.
public boolean isReadable () [Inherited From MBeanAttributeInfo]
  Whether the value of the attribute can be read.
public boolean isValue (Object obj)
  Tests whether obj is a valid value for the attribute described by this OpenMBeanAttributeInfoSupport instance.
pack-privatestatic boolean isValue (OpenMBeanParameterInfo info, Object obj)
public boolean isWritable () [Inherited From MBeanAttributeInfo]
  Whether new values can be written to the attribute.
pack-privatestatic Descriptor makeDescriptor (OpenType< T> openType, T defaultValue, T legalValues, Comparable< T> minValue, Comparable< T> maxValue)
pack-privatestatic Descriptor makeDescriptor (OpenType openType, Object defaultValue, Set legalValues, Comparable minValue, Comparable maxValue)
public String toString () [Overrides MBeanAttributeInfo] [Specified in OpenMBeanAttributeInfo]
  Returns a string representation of this OpenMBeanAttributeInfoSupport instance.
pack-privatestatic String toString (OpenMBeanParameterInfo info)
pack-privatestatic T valueFrom (Descriptor d, String name, OpenType< T> openType)
pack-privatestatic Set< T> valuesFrom (Descriptor d, String name, OpenType< T> openType)
Fields
Hide/Show inherited fields
protected String description [Inherited From MBeanFeatureInfo]
  The human-readable description of the feature.
protected String name [Inherited From MBeanFeatureInfo]
  The name of the feature.
pack-privatefinalstatic long serialVersionUID = "-4867215622149721849"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar