public static Enumeration propertyNames() { return ManagedProperties.propertyNames(); }
public static Enumeration propertyNames() { return ManagedProperties.propertyNames(); }
public static Enumeration propertyNames() { return ManagedProperties.propertyNames(); }
/** * This is an expensive operation. * ON EACH CALL it walks through all property lists * associated with the current context class loader upto * and including the bootstrap class loader. * * @return Returns a <code>java.util.Properties</code> instance * that is equivalent to the current state of the scoped * properties, in that getProperty() will return the same value. * However, this is a copy, so setProperty on the * returned value will not effect the scoped properties. */ public static Properties getProperties() { Properties p = new Properties(); Enumeration<String> names = propertyNames(); while (names.hasMoreElements()) { String name = names.nextElement(); p.put(name, getProperty(name)); } return p; }