Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.host
Interface Launcher


public interface Launcher

Interface that allows a host to launch a runtime.

Version:
$Rev: 452286 $ $Date: 2006-10-02 17:43:04 -0700 (Mon, 02 Oct 2006) $

Method Summary
 org.osoa.sca.CompositeContext bootApplication(URL applicationScdl, ClassLoader applicationClassLoader)
          Boot a default application into the runtime.
 void bootRuntime(URL systemScdl, ClassLoader systemClassLoader, MonitorFactory monitorFactory)
          Boot the Tuscany runtime.
 void shutdownRuntime()
          Shutdown the Tuscany runtime.
 

Method Detail

bootRuntime

void bootRuntime(URL systemScdl,
                 ClassLoader systemClassLoader,
                 MonitorFactory monitorFactory)
                 throws TuscanyException
Boot the Tuscany runtime.

Parameters:
systemScdl - the SCDL defining the runtime's system configuration
systemClassLoader - the root classloader to use to deploy the system SCDL
monitorFactory - the monitor factory initialize the runtime with
Throws:
TuscanyException - if there was a problem booting the runtimr

shutdownRuntime

void shutdownRuntime()
Shutdown the Tuscany runtime.


bootApplication

org.osoa.sca.CompositeContext bootApplication(URL applicationScdl,
                                              ClassLoader applicationClassLoader)
Boot a default application into the runtime.

Parameters:
applicationScdl - the application's SCDL
applicationClassLoader - the classloader to use to deploy the application
Returns:
the CompositeContext for the application

Apache Tuscany SCA Kernel Sub-Project

-