You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2006/08/17 09:42:57 UTC
svn commit: r432176 -
/incubator/tuscany/java/sca/host-api/src/main/java/org/apache/tuscany/host/Launcher.java
Author: jboynes
Date: Thu Aug 17 00:42:54 2006
New Revision: 432176
URL: http://svn.apache.org/viewvc?rev=432176&view=rev
Log:
JavaDoc for the Launcher interface
Modified:
incubator/tuscany/java/sca/host-api/src/main/java/org/apache/tuscany/host/Launcher.java
Modified: incubator/tuscany/java/sca/host-api/src/main/java/org/apache/tuscany/host/Launcher.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/host-api/src/main/java/org/apache/tuscany/host/Launcher.java?rev=432176&r1=432175&r2=432176&view=diff
==============================================================================
--- incubator/tuscany/java/sca/host-api/src/main/java/org/apache/tuscany/host/Launcher.java (original)
+++ incubator/tuscany/java/sca/host-api/src/main/java/org/apache/tuscany/host/Launcher.java Thu Aug 17 00:42:54 2006
@@ -25,13 +25,33 @@
import org.apache.tuscany.api.TuscanyException;
/**
+ * Interface that allows a host to launch a runtime.
+ *
* @version $Rev$ $Date$
*/
public interface Launcher {
+ /**
+ * Boot the Tuscany runtime.
+ *
+ * @param systemScdl the SCDL defining the runtime's system configuration
+ * @param systemClassLoader the root classloader to use to deploy the system SCDL
+ * @param monitorFactory the monitor factory initialize the runtime with
+ * @throws TuscanyException if there was a problem booting the runtimr
+ */
void bootRuntime(URL systemScdl, ClassLoader systemClassLoader, MonitorFactory monitorFactory)
throws TuscanyException;
+ /**
+ * Shutdown the Tuscany runtime.
+ */
void shutdownRuntime();
+ /**
+ * Boot a default application into the runtime.
+ *
+ * @param applicationScdl the application's SCDL
+ * @param applicationClassLoader the classloader to use to deploy the application
+ * @return the CompositeContext for the application
+ */
CompositeContext bootApplication(URL applicationScdl, ClassLoader applicationClassLoader);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org