|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tanukisoftware.wrapper.WrapperSimpleApp
Method Summary | |
void |
controlEvent(int event)
Called whenever the native wrapper code traps a system control signal against the Java process. |
static void |
main(java.lang.String[] args)
Used to Wrapper enable a standard Java application. |
void |
run()
Used to launch the application in a separate thread. |
java.lang.Integer |
start(java.lang.String[] args)
The start method is called when the WrapperManager is signalled by the native wrapper code that it can start its application. |
int |
stop(int exitCode)
Called when the application is shutting down. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void run()
run
in interface java.lang.Runnable
public java.lang.Integer start(java.lang.String[] args)
start
in interface WrapperListener
args
- List of arguments used to initialize the application.
public int stop(int exitCode)
stop
in interface WrapperListener
exitCode
- The suggested exit code that will be returned to the OS
when the JVM exits.
public void controlEvent(int event)
controlEvent
in interface WrapperListener
event
- The system control signal.public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |