C E H I N R S U

C

checkExit(int) - Method in class net.dclausen.util.ExitLogger
Use stack introspection to identify the calling class/method/line, and log it.
checkPermission(Permission) - Method in class net.dclausen.util.ExitLogger
Delegate the check to the parent SecurityManager, if there is one.

E

ExitLogger - class net.dclausen.util.ExitLogger.
A simple SecurityManager which logs calls to ExitLogger.checkExit(int).

H

handle(String) - Method in class net.dclausen.util.SignalInterceptor
Handle the given signal (which you had previously registered for).
handle(String) - Method in class net.dclausen.util.SignalLogger
Log the signal and return true, so that the default handler will be invoked.

I

install(Logger, Level) - Static method in class net.dclausen.util.ExitLogger
Install an instance of ExitLogger as the System's SecurityManager.
invokeMain(String, String, String, String[]) - Static method in class net.dclausen.util.UncaughtExceptionLogger
Construct a new UncaughtExceptionLogger, and invoke mainClass.main(args) on a child thread.

N

net.dclausen.util - package net.dclausen.util
 

R

register(String) - Method in class net.dclausen.util.SignalInterceptor
Register for the given signal.
registerQuietly(String) - Method in class net.dclausen.util.SignalInterceptor
A wrapper around register(String) which never throws an exception.

S

SignalInterceptor - class net.dclausen.util.SignalInterceptor.
A simple wrapper around the undocumented and unsupported sun.misc.Signal* classes which are present in most JVM implementations.
SignalInterceptor() - Constructor for class net.dclausen.util.SignalInterceptor
 
SignalInterceptorException - exception net.dclausen.util.SignalInterceptorException.
 
SignalLogger - class net.dclausen.util.SignalLogger.
A SignalInterceptor which logs incoming signals using the java logging API, then invokes the next handler in the chain.
SignalLogger() - Constructor for class net.dclausen.util.SignalLogger
Construct a SignalLogger which will log signals to the root Logger at the INFO level.
SignalLogger(Logger, Level) - Constructor for class net.dclausen.util.SignalLogger
Construct a SignalLogger which will log signals to the given Logger at the given Level.

U

UncaughtExceptionLogger - class net.dclausen.util.UncaughtExceptionLogger.
A ThreadGroup which logs its child Threads' uncaught exceptions using the java logging API.
UncaughtExceptionLogger(String, String) - Constructor for class net.dclausen.util.UncaughtExceptionLogger
Construct a new UncaughtExceptionLogger.
uncaughtException(Thread, Throwable) - Method in class net.dclausen.util.UncaughtExceptionLogger
Log the Throwable using the java logging API.

C E H I N R S U