org.freecompany.brimstone.main

Class Main

class Main extends Object implements Runner, UncaughtExceptionHandler

Field Summary
protected String[]arguments
protected ClassLoaderparent
protected AtomicBooleanrestart
Method Summary
protected voidconfigure(String[] arguments)
static RunnergetRunner()
static voidmain(String[] arguments)
voidrestart()
voidsetArguments(String[] arguments)
voidsetClass(String clazz)
voidsetMethod(String method)
voidsetParent(ClassLoader parent)
voidsetPath(String path)
voidstart()
voiduncaughtException(Thread t, Throwable e)
The default exception handler will simply log a SEVERE level message with the exception object.

Field Detail

arguments

protected String[] arguments

parent

protected ClassLoader parent

restart

protected final AtomicBoolean restart

Method Detail

configure

protected void configure(String[] arguments)

getRunner

public static Runner getRunner()

main

public static void main(String[] arguments)

restart

public void restart()

setArguments

public void setArguments(String[] arguments)

setClass

public void setClass(String clazz)

setMethod

public void setMethod(String method)

setParent

public void setParent(ClassLoader parent)

setPath

public void setPath(String path)

start

public void start()

uncaughtException

public void uncaughtException(Thread t, Throwable e)
The default exception handler will simply log a SEVERE level message with the exception object.

Parameters: t the thread which caused the exception. e the exception.