|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
AccessController
,
AccessController.doPrivileged(PrivilegedAction)
,
PrivilegedExceptionAction
Method Summary | |
Object |
run()
Performs the computation. |
Method Detail |
public Object run()
AccessController.doPrivileged
after enabling privileges.PrivilegedAction
should document what (if anything) this value represents.AccessController.doPrivileged(PrivilegedAction)
,
AccessController.doPrivileged(PrivilegedAction,
AccessControlContext)
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.