javax.management
Interface Descriptor
- All Superinterfaces:
- java.lang.Cloneable, java.io.Serializable
- All Known Implementing Classes:
- DescriptorSupport
- public interface Descriptor
- extends java.lang.Cloneable, java.io.Serializable
Descriptor is cloneable since represent a snapshot of what the client passed in to the model mbean.
This ensures that if the client nulls out some value, the descriptor is still valid, since it has been cloned
prior the client modification. The client can always re-set the descriptor on the model mbean.
- Version:
- $Revision: 1.2 $
- Author:
- Simone Bordet
getFieldValue
public java.lang.Object getFieldValue(java.lang.String fieldName)
throws RuntimeOperationsException
setField
public void setField(java.lang.String fieldName,
java.lang.Object fieldValue)
throws RuntimeOperationsException
removeField
public void removeField(java.lang.String fieldName)
getFieldNames
public java.lang.String[] getFieldNames()
getFieldValues
public java.lang.Object[] getFieldValues(java.lang.String[] fieldNames)
getFields
public java.lang.String[] getFields()
setFields
public void setFields(java.lang.String[] fieldNames,
java.lang.Object[] fieldValues)
throws RuntimeOperationsException
clone
public java.lang.Object clone()
throws RuntimeOperationsException
- Overrides:
clone
in class java.lang.Object
isValid
public boolean isValid()
throws RuntimeOperationsException