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