public abstract class ThreadTerminatingSecurityManager extends NoExitSecurityManager
NOTE: Still needs some work; if main script editor exits from the event dispatch thread, an exception is thrown and the exit aborted. Perhaps ignore event dispatch threads?
| Modifier and Type | Class and Description |
|---|---|
class |
ThreadTerminatingSecurityManager.ThreadTerminatedException |
| Constructor and Description |
|---|
ThreadTerminatingSecurityManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission(java.security.Permission perm)
Throw ThreadTerminated for any thread marked for termination.
|
void |
checkPermission(java.security.Permission perm,
java.lang.Object context)
Throw ThreadTerminated for any thread marked for termination.
|
void |
terminateThreads(java.lang.ThreadGroup group)
Ensure ThreadTermination exceptions are thrown for any thread in the
given group when any such thread causes the security manager to be
invoked.
|
checkExit, exitCalled, exitInvokedcheckAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoaderpublic void terminateThreads(java.lang.ThreadGroup group)
public void checkPermission(java.security.Permission perm,
java.lang.Object context)
checkPermission in class NoExitSecurityManagerpublic void checkPermission(java.security.Permission perm)
checkPermission in class NoExitSecurityManager
Abbot is hosted on