public final class SystemPropertyAction extends Object implements PrivilegedAction<String>
Modifier and Type | Method and Description |
---|---|
static String |
getProperty(String name) |
static String |
getProperty(String name,
String def) |
static String |
getPropertyOrNull(String name)
Get the system property via the AccessController, but if a SecurityException is
raised, just return null;
|
String |
run() |
public String run()
run
in interface PrivilegedAction<String>
Copyright © 2018 JBoss by Red Hat. All rights reserved.