javax.management
public class MBeanFeatureInfo extends Object implements Serializable
Since: 1.5
Field Summary | |
---|---|
protected String | description
A description of the feature in human-readable form.
|
protected String | name
The name of the feature. |
Constructor Summary | |
---|---|
MBeanFeatureInfo(String name, String description)
Constructs a new {@link MBeanFeatureInfo} with the specified
name and description.
|
Method Summary | |
---|---|
boolean | equals(Object obj)
Compares this feature with the supplied object. |
String | getDescription()
Returns a description of this feature.
|
String | getName()
Returns the name of this feature.
|
int | hashCode()
Returns the hashcode of the feature as
the sum of the hashcodes of its name
and description.
|
String | toString() Returns a textual representation of this instance. |
Serial: a description of the feature.
Serial: the name of the feature.
Parameters: name the name of the management bean feature. description the description of the feature.
Parameters: obj the object to compare.
Returns: true if the object is a {@link MBeanFeatureInfo}
instance,
name.equals(object.getName())
and
description.equals(object.getDescription
.
Returns: a human-readable description.
Returns: the name of the feature.
Returns: the hashcode of this feature.
Returns a textual representation of this instance. This
is constructed using the class name
(javax.management.MBeanFeatureInfo
) and
the name and description of the feature.
As instances of this class are immutable, the return value is computed just once for each instance and reused throughout its life.
Returns: a @link{java.lang.String} instance representing the instance in textual form.