java.security
public interface PrivilegedAction<T>
run
method that
executes a privileged operation. This method is called by
AccessController.doPrivileged()
after that method
activiates the required privileges.
Since: 1.1
See Also: AccessController PrivilegedExceptionAction
UNKNOWN: updated to 1.5
Method Summary | |
---|---|
T | run()
This method performs an operation that requires higher privileges to
perform. |
AccessController.doPrivileged()
.
Returns: obj An implementation dependent return value
See Also: doPrivileged AccessController