| |
|
| java.lang.Object org.apache.harmony.luni.util.PriviAction
Constructor Summary | |
public | PriviAction() Creates a PrivilegedAction to get the current security policy object. | public | PriviAction(AccessibleObject object) Creates a PrivilegedAction to disable the access checks to the given
object. | public | PriviAction(String property) Creates a PrivilegedAction to return the value of the system property
with the given key. | public | PriviAction(String property, String defaultAnswer) Creates a PrivilegedAction to return the value of the system property
with the given key. |
Method Summary | |
public static PrivilegedAction<String> | getSecurityProperty(String property) Creates a PrivilegedAction to get the security property with the given
name. | public T | run() Performs the actual privileged computation as defined by the constructor. |
PriviAction | public PriviAction()(Code) | | Creates a PrivilegedAction to get the current security policy object.
See Also: Policy.getPolicy |
PriviAction | public PriviAction(String property)(Code) | | Creates a PrivilegedAction to return the value of the system property
with the given key.
Parameters: property - the key of the system property See Also: System.getProperty(String) |
PriviAction | public PriviAction(String property, String defaultAnswer)(Code) | | Creates a PrivilegedAction to return the value of the system property
with the given key.
Parameters: property - the key of the system property Parameters: defaultAnswer - the return value if the system property does not exist See Also: System.getProperty(StringString) |
|
|
|