public static class SystemProperties.DefaultCallbacks extends Object implements SystemProperties.Callbacks, PrivilegedExceptionAction<String>
| Constructor and Description |
|---|
SystemProperties.DefaultCallbacks(String propertyNamePrefix) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSystemProperty(String key,
SystemProperties properties)
Get system property for given key or null if key not set.
|
String |
getSystemPropertyNamePrefix()
Get prefix to be used for system property names.
|
String |
run() |
public SystemProperties.DefaultCallbacks(String propertyNamePrefix)
public String getSystemPropertyNamePrefix()
getSystemPropertyNamePrefix in interface SystemProperties.Callbackspublic String getSystemProperty(String key, SystemProperties properties) throws PrivilegedActionException
getSystemProperty in interface SystemProperties.CallbacksPrivilegedActionExceptionpublic String run()
run in interface PrivilegedExceptionAction<String>Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.