add getProperties()

This commit is contained in:
zzz
2011-01-06 15:43:59 +00:00
parent 226cb7fdb9
commit f8a2befbc0

View File

@ -351,6 +351,18 @@ public class RouterContext extends I2PAppContext {
return super.getProperty(propName, defaultVal);
}
/**
* @return new Properties with system and context properties
* @since 0.8.4
*/
@Override
public Properties getProperties() {
Properties rv = super.getProperties();
if (_router != null)
rv.putAll(_router.getConfigMap());
return rv;
}
/**
* The context's synchronized clock, which is kept context specific only to
* enable simulators to play with clock skew among different instances.