List of usage examples for java.lang System setProperties
public static void setProperties(Properties props)
From source file:org.apache.geode.distributed.internal.DistributionConfigImpl.java
public void close() { // Clear the extra stuff from System properties Properties props = System.getProperties(); props.remove(SECURITY_SYSTEM_PREFIX + SECURITY_PEER_AUTH_INIT); props.remove(SECURITY_SYSTEM_PREFIX + SECURITY_PEER_AUTHENTICATOR); Iterator iter = security.keySet().iterator(); while (iter.hasNext()) { props.remove(SECURITY_SYSTEM_PREFIX + (String) iter.next()); }/*from w w w . j a va 2 s . co m*/ System.setProperties(props); }