org.mule.module.launcher
Class MuleContainer

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

public class MuleContainer
extends java.lang.Object


Field Summary
static java.lang.String[][] CLI_OPTIONS
           
protected  DeploymentService deploymentService
           
 
Constructor Summary
MuleContainer()
           
MuleContainer(java.lang.String[] args)
          Configure the server with command-line arguments.
 
Method Summary
protected  void doShutdown()
           
 Log getLogger()
           
static java.lang.String getStartupPropertiesFile()
           
protected  void init(java.lang.String[] args)
           
static void main(java.lang.String[] args)
          Application entry point.
 void registerShutdownHook()
           
static void setStartupPropertiesFile(java.lang.String startupPropertiesFile)
           
 void shutdown()
          shutdown the server.
 void shutdown(java.lang.Throwable e)
          Will shut down the server displaying the cause and time of the shutdown
 void start(boolean registerShutdownHook)
           
 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 java.lang.String[][] CLI_OPTIONS

deploymentService

protected DeploymentService deploymentService
Constructor Detail

MuleContainer

public MuleContainer()

MuleContainer

public MuleContainer(java.lang.String[] args)
              throws java.lang.IllegalArgumentException
Configure the server with command-line arguments.

Throws:
java.lang.IllegalArgumentException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Application entry point.

Parameters:
args - command-line args
Throws:
java.lang.Exception

init

protected void init(java.lang.String[] args)
             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

start

public void start(boolean registerShutdownHook)

shutdown

public void shutdown(java.lang.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 java.lang.String getStartupPropertiesFile()

setStartupPropertiesFile

public static void setStartupPropertiesFile(java.lang.String startupPropertiesFile)


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.