1 7 25 26 package javax.management; 27 28 29 import javax.management.RuntimeOperationsException ; 30 import javax.management.MBeanException ; 31 32 import com.sun.jmx.trace.Trace; 33 34 48 public interface Descriptor extends java.io.Serializable , Cloneable 49 { 50 51 61 public Object getFieldValue(String fieldName) 62 throws RuntimeOperationsException ; 63 64 76 public void setField(String fieldName, Object fieldValue) 77 throws RuntimeOperationsException ; 78 79 80 92 public String [] getFields() ; 93 94 95 102 public String [] getFieldNames() ; 103 104 118 public Object [] getFieldValues(String [] fieldNames) ; 119 120 126 public void removeField(String fieldName) ; 127 128 145 public void setFields(String [] fieldNames, Object [] fieldValues) 146 throws RuntimeOperationsException ; 147 148 149 155 public Object clone() throws RuntimeOperationsException ; 156 157 158 166 public boolean isValid() throws RuntimeOperationsException ; 167 168 } 169 170 | Popular Tags |