|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.security.NoExitSecurityManagerInstaller
public class NoExitSecurityManagerInstaller
Understands installing/uninstalling a .
NoExitSecurityManager
| Method Summary | |
|---|---|
static NoExitSecurityManagerInstaller |
installNoExitSecurityManager()
Installs a new in System. |
static NoExitSecurityManagerInstaller |
installNoExitSecurityManager(ExitCallHook hook)
Installs a new in System. |
void |
uninstall()
Uninstalls the installed by
, restoring the original . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NoExitSecurityManagerInstaller installNoExitSecurityManager()
NoExitSecurityManager in System.
public static NoExitSecurityManagerInstaller installNoExitSecurityManager(ExitCallHook hook)
NoExitSecurityManager in System.
hook - gets notified when an application tries to terminate the current JVM.
NullPointerException - if the given hook is null.public void uninstall()
NoExitSecurityManager installed by
installNoExitSecurityManager(), restoring the original SecurityManager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||