Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.security

Interface PrivilegedAction

java.lang.Object
|
+--java.security.PrivilegedAction


public interface PrivilegedAction

This interface specifes a single run method that executes a privileged operation. This method is called by AccessController.doPrivileged() after that method activiates the required privileges.

Since:Author:See Also:

Method Summary

java.lang.Objectrun()

This method performs an operation that requires higher privileges to perform.

Method Details

run

public Object run()

This method performs an operation that requires higher privileges to perform. It is called when a section of code invokes AccessController.doPrivileged().

Returns:

See Also: