public class FeatureInfo
extends java.lang.Object
implements java.io.Serializable
Convenience base class for AttributeInfo
,
ConstructorInfo
, and OperationInfo
classes
that will be used to collect configuration information for the
ModelMBean
beans exposed for management.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected java.util.List |
fields |
protected java.lang.String |
name |
(package private) static long |
serialVersionUID |
Constructor and Description |
---|
FeatureInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addField(FieldInfo field)
Add a new field to the fields associated with the
Descriptor that will be created from this metadata.
|
protected void |
addFields(javax.management.Descriptor descriptor)
Add the name/value fields that have been stored into the
specified
Descriptor instance. |
java.lang.String |
getDescription()
The human-readable description of this feature.
|
java.util.List |
getFields()
The field information for this feature.
|
java.lang.String |
getName()
The name of this feature, which must be unique among features in the
same collection.
|
void |
setDescription(java.lang.String description) |
void |
setName(java.lang.String name) |
static final long serialVersionUID
protected java.lang.String description
protected java.util.List fields
protected java.lang.String name
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.List getFields()
public java.lang.String getName()
public void setName(java.lang.String name)
public void addField(FieldInfo field)
Add a new field to the fields associated with the Descriptor that will be created from this metadata.
field
- The field to be addedprotected void addFields(javax.management.Descriptor descriptor)
Add the name/value fields that have been stored into the
specified Descriptor
instance.
descriptor
- The Descriptor
to add fields toCopyright (c) 2001-2003 - Apache Software Foundation