Class PrivilegedGetSystemProperty

java.lang.Object
org.eclipse.persistence.internal.security.PrivilegedGetSystemProperty
All Implemented Interfaces:
PrivilegedAction<String>

public class PrivilegedGetSystemProperty extends Object implements PrivilegedAction<String>
INTERNAL: Retrieve System property with privileges enabled.
  • Constructor Details

    • PrivilegedGetSystemProperty

      public PrivilegedGetSystemProperty(String key)
      INTERNAL: Creates an instance of System property getter with privileges enabled. Selects System property getter without default value to be executed so getter will return null if property with key does not exist.
      Parameters:
      key - The name of the System property.
    • PrivilegedGetSystemProperty

      public PrivilegedGetSystemProperty(String key, String def)
      INTERNAL: Creates an instance of System property getter with privileges enabled. Selects System property getter with default value to be executed so getter will return def if property with key does not exist.
      Parameters:
      key - The name of the System property.
      Since:
      2.7
  • Method Details