public class SystemPropertiesWrapper extends Object
Constructor and Description |
---|
SystemPropertiesWrapper() |
Modifier and Type | Method and Description |
---|---|
int |
getAsInt(String key,
int def)
Wraps the call to
SystemProperties.getAsInt(String, int) . |
void |
observe(ConfigurationListener listener,
String... properties)
Wraps the call to
SystemProperties.observe(ConfigurationListener, String...) |
public int getAsInt(String key, int def)
SystemProperties.getAsInt(String, int)
.key
- System Properties key to retrieve the value for.def
- Default if no value is found.public void observe(ConfigurationListener listener, String... properties)
SystemProperties.observe(ConfigurationListener, String...)
listener
- The listener to call when one of the provided properties has changed.properties
- The list of properties that should be observed. A change in any one of these properties
will cause the listener to be notified.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.