|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PrivilegedAction
This class is a wrapper of java.security.PrivilegedAction && java.security.PriviligedExceptionAction.
Its purpose is to hide the dependency on java.security package, so that the user of this class, could be used on JDK 1.1 compatible JVM-s and the others. In the first case, no security mechanism is provided in the JVM, so there is no need to execute doPrivileged blocks at all. In the second case the real java.security.AccessController, java.security.PrivilegedAction and java.security.PrivilegedExceptionAction are used to execute doPrivileged blocks.
| Method Summary | |
|---|---|
java.lang.Object |
run0()
Deprecated. Substitute for PrivilegedAction.run() and PrivilegedExceptionAction.run() in java.security package. |
| Method Detail |
|---|
java.lang.Object run0()
throws java.lang.Exception
java.lang.Exception
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||