public class MuleContainer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[][] |
CLI_OPTIONS |
protected DeploymentService |
deploymentService |
| Constructor and Description |
|---|
MuleContainer(DeploymentService deploymentService,
RepositoryService repositoryService,
ToolingService toolingService,
MuleCoreExtensionManagerServer coreExtensionManager,
org.mule.runtime.module.service.ServiceManager serviceManager,
org.mule.runtime.module.extension.internal.loader.ExtensionModelLoaderManager extensionModelLoaderManager) |
MuleContainer(String[] args) |
MuleContainer(String[] args,
DeploymentService deploymentService,
RepositoryService repositoryService,
ToolingService toolingService,
MuleCoreExtensionManagerServer coreExtensionManager,
org.mule.runtime.module.service.ServiceManager serviceManager,
org.mule.runtime.module.extension.internal.loader.ExtensionModelLoaderManager extensionModelLoaderManager)
Configure the server with command-line arguments.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doShutdown() |
org.slf4j.Logger |
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, RepositoryService repositoryService, ToolingService toolingService, MuleCoreExtensionManagerServer coreExtensionManager, org.mule.runtime.module.service.ServiceManager serviceManager, org.mule.runtime.module.extension.internal.loader.ExtensionModelLoaderManager extensionModelLoaderManager)
public MuleContainer(String[] args, DeploymentService deploymentService, RepositoryService repositoryService, ToolingService toolingService, MuleCoreExtensionManagerServer coreExtensionManager, org.mule.runtime.module.service.ServiceManager serviceManager, org.mule.runtime.module.extension.internal.loader.ExtensionModelLoaderManager extensionModelLoaderManager) throws IllegalArgumentException
IllegalArgumentExceptionpublic static void main(String[] args) throws Exception
args - command-line argsExceptionprotected void init(String[] args) throws IllegalArgumentException
IllegalArgumentExceptionpublic void start(boolean registerShutdownHook)
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionprotected void showSplashScreen()
public void shutdown(Throwable e) throws org.mule.runtime.api.exception.MuleException
e - the exception that caused the shutdownorg.mule.runtime.api.exception.MuleExceptionpublic void shutdown()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionprotected void doShutdown()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic org.slf4j.Logger getLogger()
public void registerShutdownHook()
public void unregisterShutdownHook()
public static String getStartupPropertiesFile()
public static void setStartupPropertiesFile(String startupPropertiesFile)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.