Class SystemProperties

java.lang.Object
org.glassfish.main.jdke.props.SystemProperties

public final class SystemProperties extends Object
Extension for System.setProperties(java.util.Properties) and methods around.
  • Method Details

    • setProperty

      public static String setProperty(String key, String value, boolean force)
      Sets a system property, logging the action.
      Parameters:
      key - must not be null.
      value - if null, will remove the property
      force - if false, will not override an existing property with the same key
      Returns:
      the old value of the property, or null if it was not set before