Class GFSystemImpl


  • public final class GFSystemImpl
    extends Object
    A replacement for System Properties This is designed so that each instance in a shared JVM can have its own System Properties.
    Author:
    bnevins
    • Constructor Detail

      • GFSystemImpl

        public GFSystemImpl()
    • Method Detail

      • getProperties

        public final Map<String,​String> getProperties()
        Get the GFSystemImpl Properties
        Returns:
        a snapshot copy of the current Properties
      • getProperty

        public final String getProperty​(String key)
        Get a GF System Property
        Parameters:
        key - the name of the property
        Returns:
        the value of the property
      • setProperty

        public final void setProperty​(String key,
                                      String value)
        Set a GF System Property, null is acceptable for the name and/or value.
        Parameters:
        key - the name of the property
        value - the value of the property