org.mule.module.launcher
Class MuleContainer
java.lang.Object
org.mule.module.launcher.MuleContainer
public class MuleContainer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLI_OPTIONS
public static final java.lang.String[][] CLI_OPTIONS
deploymentService
protected DeploymentService deploymentService
MuleContainer
public MuleContainer()
MuleContainer
public MuleContainer(java.lang.String[] args)
throws java.lang.IllegalArgumentException
- Configure the server with command-line arguments.
- Throws:
java.lang.IllegalArgumentException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Application entry point.
- Parameters:
args
- command-line args
- Throws:
java.lang.Exception
init
protected void init(java.lang.String[] args)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
start
public void start(boolean registerShutdownHook)
shutdown
public void shutdown(java.lang.Throwable e)
- Will shut down the server displaying the cause and time of the shutdown
- Parameters:
e
- the exception that caused the shutdown
shutdown
public void shutdown()
- shutdown the server. This just displays the time the server shut down
doShutdown
protected void doShutdown()
getLogger
public Log getLogger()
registerShutdownHook
public void registerShutdownHook()
unregisterShutdownHook
public void unregisterShutdownHook()
getStartupPropertiesFile
public static java.lang.String getStartupPropertiesFile()
setStartupPropertiesFile
public static void setStartupPropertiesFile(java.lang.String startupPropertiesFile)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.