org.mule.module.launcher
Class MuleContainer

java.lang.Object
  extended by org.mule.module.launcher.MuleContainer

public class MuleContainer
extends Object


Field Summary
static String[][] CLI_OPTIONS
           
protected  DeploymentService deploymentService
           
 
Constructor Summary
MuleContainer(DeploymentService deploymentService, MuleCoreExtensionManager coreExtensionManager)
           
MuleContainer(String[] args)
           
MuleContainer(String[] args, DeploymentService deploymentService, MuleCoreExtensionManager coreExtensionManager)
          Configure the server with command-line arguments.
 
Method Summary
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)
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLI_OPTIONS

public static final String[][] CLI_OPTIONS

deploymentService

protected final DeploymentService deploymentService
Constructor Detail

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
Method Detail

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.