public class MuleContainer extends Object
Modifier and Type | Field and Description |
---|---|
static String[][] |
CLI_OPTIONS |
protected DeploymentService |
deploymentService |
Constructor and Description |
---|
MuleContainer(DeploymentService deploymentService,
MuleCoreExtensionManager coreExtensionManager) |
MuleContainer(String[] args) |
MuleContainer(String[] args,
DeploymentService deploymentService,
MuleCoreExtensionManager coreExtensionManager)
Configure the server with command-line arguments.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doShutdown() |
Log |
getLogger() |
static String |
getStartupPropertiesFile() |
protected void |
init(String[] args) |
static void |
main(String[] args)
Application entry point.
|
void |
registerShutdownHook() |
static void |
setStartupPropertiesFile(String startupPropertiesFile) |
protected void |
showSplashScreen() |
void |
shutdown()
shutdown the server.
|
void |
shutdown(Throwable e)
Will shut down the server displaying the cause and time of the shutdown
|
void |
start(boolean registerShutdownHook) |
void |
stop() |
void |
unregisterShutdownHook() |
public static final String[][] CLI_OPTIONS
protected final DeploymentService deploymentService
public MuleContainer(String[] args)
public MuleContainer(DeploymentService deploymentService, MuleCoreExtensionManager coreExtensionManager)
public MuleContainer(String[] args, DeploymentService deploymentService, MuleCoreExtensionManager coreExtensionManager) throws IllegalArgumentException
IllegalArgumentException
public static void main(String[] args) throws Exception
args
- command-line argsException
protected void init(String[] args) throws IllegalArgumentException
IllegalArgumentException
public void start(boolean registerShutdownHook) throws MuleException
MuleException
protected void showSplashScreen()
public void shutdown(Throwable e) throws MuleException
e
- the exception that caused the shutdownMuleException
public void shutdown() throws MuleException
MuleException
protected void doShutdown() throws MuleException
MuleException
public void stop() throws MuleException
MuleException
public Log getLogger()
public void registerShutdownHook()
public void unregisterShutdownHook()
public static String getStartupPropertiesFile()
public static void setStartupPropertiesFile(String startupPropertiesFile)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.