Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
void |
controlEvent(int event)
Called whenever the native Wrapper code traps a system control signal
against the Java process.
|
static void |
main(String[] args) |
void |
run() |
Integer |
start(String[] args)
The start method is called when the WrapperManager is signaled by the
native Wrapper code that it can start its application.
|
int |
stop(int exitCode)
Called when the application is shutting down.
|
void |
waitingForShutdown(int delay)
Call-back method is called by the @{link org.apache.karaf.main.Main} for Signaling
that the stopping process is in progress and the wrapper doesn't kill the JVM.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic Integer start(String[] args)
start in interface org.tanukisoftware.wrapper.WrapperListenerargs - List of arguments used to initialize the application.public int stop(int exitCode)
stop in interface org.tanukisoftware.wrapper.WrapperListenerexitCode - The suggested exit code that will be returned to the OS
when the JVM exits.public void waitingForShutdown(int delay)
waitingForShutdown in interface org.apache.karaf.main.ShutdownCallbackpublic void controlEvent(int event)
controlEvent in interface org.tanukisoftware.wrapper.WrapperListenerevent - The system control signal.public static void main(String[] args)
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.