MCPcopy Index your code
hub / github.com/OpenSourcePhysics/osp / PrivilegedAction

Interface PrivilegedAction

unused/java/security/PrivilegedAction.java:42–56  ·  view source on GitHub ↗

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 exception

Source from the content-addressed store, hash-verified

40 */
41
42public interface PrivilegedAction<T> {
43 /**
44 * Performs the computation. This method will be called by
45 * {@code AccessController.doPrivileged} after enabling privileges.
46 *
47 * @return a class-dependent value that may represent the results of the
48 * computation. Each class that implements
49 * {@code PrivilegedAction}
50 * should document what (if anything) this value represents.
51 * @see AccessController#doPrivileged(PrivilegedAction)
52 * @see AccessController#doPrivileged(PrivilegedAction,
53 * AccessControlContext)
54 */
55 T run();
56}

Callers 8

findHitsMethod · 0.65
addOSPLibraryMethod · 0.65
doInBackgroundMethod · 0.65
runMethod · 0.65
loadResourcesMethod · 0.65
startMethod · 0.65
loadNodeMethod · 0.65
checkLoadEventMethod · 0.65

Implementers 15

Loadersrc/org/opensourcephysics/tools/FitFun
FunctionToolsrc/org/opensourcephysics/tools/Functi
ThreadViewerTableModelsrc/org/opensourcephysics/tools/Diagno
JarToolsrc/org/opensourcephysics/tools/JarToo
DataToolTabsrc/org/opensourcephysics/tools/DataTo
DataToolsrc/org/opensourcephysics/tools/DataTo
EjsToolsrc/org/opensourcephysics/tools/EjsToo
DatasetCurveFittersrc/org/opensourcephysics/tools/Datase
Launchersrc/org/opensourcephysics/tools/Launch
LibraryBrowsersrc/org/opensourcephysics/tools/Librar
LibraryLoadersrc/org/opensourcephysics/tools/Librar
LibraryComPADREsrc/org/opensourcephysics/tools/Librar

Calls

no outgoing calls

Tested by

no test coverage detected