com.caucho.jmx
Class EmptyDescriptor

java.lang.Object
  extended by com.caucho.jmx.EmptyDescriptor
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.management.Descriptor

public class EmptyDescriptor
extends java.lang.Object
implements javax.management.Descriptor

See Also:
Serialized Form

Field Summary
static javax.management.Descriptor EMPTY_DESCRIPTOR
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String[] getFieldNames()
           
 java.lang.String[] getFields()
           
 java.lang.Object getFieldValue(java.lang.String fieldName)
           
 java.lang.Object[] getFieldValues(java.lang.String[] fieldNames)
           
 boolean isValid()
           
 void removeField(java.lang.String fieldName)
           
 void setField(java.lang.String fieldName, java.lang.Object fieldValue)
           
 void setFields(java.lang.String[] fieldNames, java.lang.Object[] fieldValues)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.management.Descriptor
equals, hashCode
 

Field Detail

EMPTY_DESCRIPTOR

public static final javax.management.Descriptor EMPTY_DESCRIPTOR
Method Detail

getFieldValue

public java.lang.Object getFieldValue(java.lang.String fieldName)
                               throws javax.management.RuntimeOperationsException
Specified by:
getFieldValue in interface javax.management.Descriptor
Throws:
javax.management.RuntimeOperationsException

setField

public void setField(java.lang.String fieldName,
                     java.lang.Object fieldValue)
              throws javax.management.RuntimeOperationsException
Specified by:
setField in interface javax.management.Descriptor
Throws:
javax.management.RuntimeOperationsException

getFields

public java.lang.String[] getFields()
Specified by:
getFields in interface javax.management.Descriptor

getFieldNames

public java.lang.String[] getFieldNames()
Specified by:
getFieldNames in interface javax.management.Descriptor

getFieldValues

public java.lang.Object[] getFieldValues(java.lang.String[] fieldNames)
Specified by:
getFieldValues in interface javax.management.Descriptor

removeField

public void removeField(java.lang.String fieldName)
Specified by:
removeField in interface javax.management.Descriptor

setFields

public void setFields(java.lang.String[] fieldNames,
                      java.lang.Object[] fieldValues)
               throws javax.management.RuntimeOperationsException
Specified by:
setFields in interface javax.management.Descriptor
Throws:
javax.management.RuntimeOperationsException

clone

public java.lang.Object clone()
                       throws javax.management.RuntimeOperationsException
Specified by:
clone in interface javax.management.Descriptor
Overrides:
clone in class java.lang.Object
Throws:
javax.management.RuntimeOperationsException

isValid

public boolean isValid()
                throws javax.management.RuntimeOperationsException
Specified by:
isValid in interface javax.management.Descriptor
Throws:
javax.management.RuntimeOperationsException