java.lang
Class SystemClassLoaderAction
java.lang.Object
|
+--java.lang.SystemClassLoaderAction
- All Implemented Interfaces:
- PrivilegedExceptionAction
- class SystemClassLoaderAction
- extends Object
- implements PrivilegedExceptionAction
Field Summary
Constructor Summary
Method Summary
Object
run()
Enabled: Performs the computation.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
parent
private ClassLoader parent
Constructor Detail
SystemClassLoaderAction
SystemClassLoaderAction(ClassLoader parent)
Method Detail
run
public Object run()
throws Exception
- Description copied from interface:
PrivilegedExceptionAction
- Enabled: Performs the computation. This method will be called by
AccessController.doPrivileged after enabling privileges.
- Specified by:
run in interface PrivilegedExceptionAction
- Returns:
- a class-dependent value that may represent the results of the
computation. Each class that implements
PrivilegedExceptionAction should document what
(if anything) this value represents.
- Throws:
Exception - an exceptional condition has occurred. Each class
that implements PrivilegedExceptionAction should
document the exceptions that its run method can throw.- See Also:
AccessController.doPrivileged(PrivilegedExceptionAction),
AccessController.doPrivileged(PrivilegedExceptionAction,AccessControlContext)