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
SERVICE_PATH
public static final String SERVICE_PATH
- See Also:
- Constant Field Values
CORE_EXTENSION_PROPERTIES
public static final String CORE_EXTENSION_PROPERTIES
- See Also:
- Constant Field Values
deploymentService
protected DeploymentService deploymentService
coreExtensions
protected Map<Class<? extends MuleCoreExtension>,MuleCoreExtension> coreExtensions
MuleContainer
public MuleContainer()
MuleContainer
public MuleContainer(String[] args)
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)
shutdown
public void shutdown(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 String getStartupPropertiesFile()
setStartupPropertiesFile
public static void setStartupPropertiesFile(String startupPropertiesFile)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.