Listing 1

public Object run ();

Here is an example of a class implementing PrivilegedAction:
public class TestAction implements java.security.PrivilegedAction {
public Object run () {
System.out.println("You are supposed to do some
controlled " +
"action like getting a system property (user.home = " +
System.getProperty("user.home") + ")";
}
}