javax.management
Class MBeanFeatureInfo

java.lang.Object
  extended byjavax.management.MBeanFeatureInfo
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MBeanAttributeInfo (src) , MBeanConstructorInfo (src) , MBeanNotificationInfo (src) , MBeanOperationInfo (src) , MBeanParameterInfo (src)

public class MBeanFeatureInfo
extends java.lang.Object
implements java.io.Serializable

General information for MBean descriptor objects.

See Also:
Serialized Form

Field Summary
protected  java.lang.String description
          Human readable description string of the MBean feature.
protected  java.lang.String name
          Name of the MBean feature.
 
Constructor Summary
MBeanFeatureInfo(java.lang.String name, java.lang.String description)
          Constructs an MBean feature info object.
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.String getDescription()
          Returns the description of the MBean feature.
 java.lang.String getName()
          Returns the name of the MBean feature.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Name of the MBean feature.


description

protected java.lang.String description
Human readable description string of the MBean feature.

Constructor Detail

MBeanFeatureInfo

public MBeanFeatureInfo(java.lang.String name,
                        java.lang.String description)
                 throws java.lang.IllegalArgumentException
Constructs an MBean feature info object.

Parameters:
name - name of the MBean feature
description - human readable description string of the feature
Throws:
java.lang.IllegalArgumentException - if the name is not a valid java type
Method Detail

getName

public java.lang.String getName()
Returns the name of the MBean feature.

Returns:
name string

getDescription

public java.lang.String getDescription()
Returns the description of the MBean feature.

Returns:
a human readable description string

equals

public boolean equals(java.lang.Object object)

hashCode

public int hashCode()

toString

public java.lang.String toString()