java.security
public interface: PrivilegedAction [javadoc |
source]
All Known Implementing Classes:
GetORBPropertiesFileAction, ResourceLoader, ArrayGettersSafeAction, ResourceLoader, GetORBPropertiesFileAction, AWTEventHelper, ModalPrivilegedAction
A computation to be performed with privileges enabled. The computation is
performed by invoking
AccessController.doPrivileged
on the
PrivilegedAction
object. This interface is used only for
computations that do not throw checked exceptions; computations that
throw checked exceptions must use
PrivilegedExceptionAction
instead.
Method from java.security.PrivilegedAction Summary: |
---|
run |
Method from java.security.PrivilegedAction Detail: |
public T run()
Performs the computation. This method will be called by
AccessController.doPrivileged after enabling privileges. |