abbot
Class NoExitSecurityManager

java.lang.Object
  extended byjava.lang.SecurityManager
      extended byabbot.NoExitSecurityManager
Direct Known Subclasses:
ThreadTerminatingSecurityManager

public abstract class NoExitSecurityManager
extends SecurityManager


Field Summary
 
Fields inherited from class java.lang.SecurityManager
inCheck
 
Constructor Summary
NoExitSecurityManager()
           
 
Method Summary
 void checkExit(int status)
           
 void checkPermission(Permission perm)
           
 void checkPermission(Permission perm, Object context)
           
protected abstract  void exitCalled(int status)
          Implement this method to do any context-specific cleanup.
 
Methods inherited from class java.lang.SecurityManager
checkAccept, 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, inClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoExitSecurityManager

public NoExitSecurityManager()
Method Detail

checkPermission

public void checkPermission(Permission perm,
                            Object context)

checkPermission

public void checkPermission(Permission perm)

checkExit

public void checkExit(int status)

exitCalled

protected abstract void exitCalled(int status)
Implement this method to do any context-specific cleanup. This hook is provided since it may not always be possible to catch the ExitException explicitly (like when it's caught by someone else, or thrown from the event dispatch thread).



Copyright © 2002-2004 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge