java.security
Interface PrivilegedAction

All Known Implementing Classes:
ResourceLoader

public interface PrivilegedAction

Untamed:


Method Summary
 Object run()
          Enabled: Performs the computation.
 

Method Detail

run

public Object run()
Enabled: Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.

Returns:
a class-dependent value that may represent the results of the computation. Each class that implements PrivilegedAction should document what (if anything) this value represents.
See Also:
AccessController.doPrivileged(PrivilegedAction), AccessController.doPrivileged(PrivilegedAction, AccessControlContext)


comments?