package jmxserv; import javax.management.StandardMBean; import javax.management.NotCompliantMBeanException; public class DBProps extends StandardMBean implements common.DBPropsMBean { public DBProps() throws NotCompliantMBeanException { super(common.DBPropsMBean.class); } String propsString = null; public String getProps () { if (propsString == null) propsString = Load.hashtableToText(System.getProperties()); return propsString; } public void reset () { propsString = null; } public String getProp (String name) { return System.getProperty(name); } public void setProp (String prop, String val) { System.setProperty(prop, val); } }