1 7 8 package javax.management; 9 10 11 12 18 public class StringValueExp implements ValueExp { 19 20 21 private static final long serialVersionUID = -3256390509806284044L; 22 23 26 private String val; 27 28 31 public StringValueExp() { 32 } 33 34 40 public StringValueExp(String val) { 41 this.val = val; 42 } 43 44 50 public String getValue() { 51 return val; 52 } 53 54 57 public String toString() { 58 return "'" + val + "'"; 59 } 60 61 62 67 public void setMBeanServer(MBeanServer s) { } 68 69 81 public ValueExp apply(ObjectName name) throws BadStringOperationException , BadBinaryOpValueExpException , 82 BadAttributeValueExpException , InvalidApplicationException { 83 return this; 84 } 85 } 86 | Popular Tags |