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.AccessController
,
PrivilegedExceptionAction
T run()
AccessController.doPrivileged()
.AccessController.doPrivileged(PrivilegedAction)
,
AccessController.doPrivileged(PrivilegedAction, AccessControlContext)