Provides general information for an MBean descriptor object. The feature described can be an attribute, an operation, a parameter, or a notification. Instances of this class are immutable. Subclasses may be mutable but this is not recommended.
| Modifier and Type | Field and Description |
|---|---|
| protected String | description
The human-readable description of the feature. |
| private transient Descriptor | |
| protected String | name
The name of the feature. |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | MBeanFeatureInfo(String
The name of the feature. name, String A human readable description of the feature. description)Constructs an |
| public | MBeanFeatureInfo(String
The name of the feature. name, String A human readable description of the feature. description, Descriptor The descriptor for the feature. This may be null
which is equivalent to an empty descriptor. descriptor)Constructs an |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if and only ifo is an MBeanFeatureInfo such
that its getName(), getDescription(), and
getDescriptor()
values are equal (not necessarily identical) to those of this
MBeanFeatureInfo.the object to compare to. o)Overrides java. Compare this MBeanFeatureInfo to another. |
| public String | Returns: the human-readable description of the feature.Returns the human-readable description of the feature. |
| public Descriptor | Returns: a descriptor that is either immutable or a copy of the original.Implements javax. Returns the descriptor for the feature. |
| public String | |
| public int | |
| private void | |
| private void |
| description | back to summary |
|---|---|
| protected String description The human-readable description of the feature. It is
recommended that subclasses call | |
| descriptor | back to summary |
|---|---|
| private transient Descriptor descriptor | |
| name | back to summary |
|---|---|
| protected String name The name of the feature. It is recommended that subclasses call
| |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| MBeanFeatureInfo | back to summary |
|---|---|
| public MBeanFeatureInfo(String name, String description) Constructs an | |
| MBeanFeatureInfo | back to summary |
|---|---|
| public MBeanFeatureInfo(String name, String description, Descriptor descriptor) Constructs an
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Compare this MBeanFeatureInfo to another.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Returns the human-readable description of the feature.
| |
| getDescriptor | back to summary |
|---|---|
| public Descriptor getDescriptor() Implements javax. Returns the descriptor for the feature. Changing the returned value will have no affect on the original descriptor.
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the feature.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException Deserializes an
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException Serializes an
| |