javax.management
Class MBeanFeatureInfo
java.lang.Object
|
+--javax.management.MBeanFeatureInfo
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MBeanAttributeInfo, MBeanConstructorInfo, MBeanNotificationInfo, MBeanOperationInfo, MBeanParameterInfo
- public class MBeanFeatureInfo
- extends java.lang.Object
- implements java.io.Serializable
Provides general information for an MBean descriptor object.
The feature described can be:
- an attribute,
- an operation,
- a parameter,
- a returned value or
- a notification.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
description
The description of the feature in a String format |
protected java.lang.String |
name
The name of the feature. |
Constructor Summary |
MBeanFeatureInfo(java.lang.String name,
java.lang.String description)
Constructs a MBeanFeatureInfo object. |
Method Summary |
java.lang.String |
getDescription()
Returns the human readable description of the feature. |
java.lang.String |
getName()
Returns the name of the feature. |
java.lang.String |
toString()
Returns a human readable version of the MBeanFeatureInfo instance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected java.lang.String name
- The name of the feature.
description
protected java.lang.String description
- The description of the feature in a String format
MBeanFeatureInfo
public MBeanFeatureInfo(java.lang.String name,
java.lang.String description)
- Constructs a MBeanFeatureInfo object.
- Parameters:
name
- The name of the feature.description
- A human readable description of the feature.
getDescription
public java.lang.String getDescription()
- Returns the human readable description of the feature.
- Returns:
- the human readable description of the feature as String.
getName
public java.lang.String getName()
- Returns the name of the feature.
- Returns:
- the name of the feature.
toString
public java.lang.String toString()
- Returns a human readable version of the MBeanFeatureInfo instance
- Overrides:
toString
in class java.lang.Object
- Returns:
- MBeanFeatrueInfo is returned in a human readable form (i.e) as a String
Copyright ©2003 XMOJO.org. All Rights Reserved.