com.sun.enterprise.universal.glassfish
Class GFSystemImpl

java.lang.Object
  extended by com.sun.enterprise.universal.glassfish.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 Summary
GFSystemImpl()
           
 
Method Summary
 Map<String,String> getProperties()
          Get the GFSystemImpl Properties
 String getProperty(String key)
          Get a GF System Property
 void setProperty(String key, String value)
          Set a GF System Property, null is acceptable for the name and/or value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2012 GlassFish Community. All Rights Reserved.