public class MuleContainerWrapper extends Object implements org.tanukisoftware.wrapper.WrapperListener
Modifier and Type | Field and Description |
---|---|
protected static String |
CLASSNAME_MULE_CONTAINER |
Constructor and Description |
---|
MuleContainerWrapper() |
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.
|
protected ClassLoader |
createContainerSystemClassLoader() |
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.
|
protected static final String CLASSNAME_MULE_CONTAINER
public Integer start(String[] args)
start
in interface org.tanukisoftware.wrapper.WrapperListener
args
- List of arguments used to initialize the application.protected ClassLoader createContainerSystemClassLoader() throws Exception
Exception
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–2016 MuleSoft, Inc.. All rights reserved.