home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / jmx.jar / javax / management / StringValueExp.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-10-28  |  1.3 KB  |  29 lines

  1. package javax.management;
  2.  
  3. public class StringValueExp implements ValueExp {
  4.    private static final long serialVersionUID = -3256390509806284044L;
  5.    private String val;
  6.  
  7.    public StringValueExp() {
  8.    }
  9.  
  10.    public StringValueExp(String value) {
  11.       this.val = value;
  12.    }
  13.  
  14.    public String getValue() {
  15.       return this.val;
  16.    }
  17.  
  18.    public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException {
  19.       return this;
  20.    }
  21.  
  22.    public void setMBeanServer(MBeanServer server) {
  23.    }
  24.  
  25.    public String toString() {
  26.       return this.val;
  27.    }
  28. }
  29.