public class MuleServerWrapper extends Object implements org.tanukisoftware.wrapper.WrapperListener
Constructor and Description |
---|
MuleServerWrapper() |
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.
|
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.
|
public Integer start(String[] args)
start
in interface org.tanukisoftware.wrapper.WrapperListener
args
- List of arguments used to initialize the application.public int stop(int exitCode)
stop
in interface org.tanukisoftware.wrapper.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 org.tanukisoftware.wrapper.WrapperListener
event
- The system control signal.Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.