You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/02/11 01:32:13 UTC

svn commit: r505808 - /incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java

Author: jsdelfino
Date: Sat Feb 10 16:32:13 2007
New Revision: 505808

URL: http://svn.apache.org/viewvc?view=rev&rev=505808
Log:
Getting itest plugin to compile again.

Modified:
    incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java?view=diff&rev=505808&r1=505807&r2=505808
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java Sat Feb 10 16:32:13 2007
@@ -42,6 +42,7 @@
 import org.apache.tuscany.spi.deployer.Deployer;
 import org.apache.tuscany.spi.loader.LoaderException;
 import org.apache.tuscany.spi.model.ComponentDefinition;
+import org.apache.tuscany.spi.model.CompositeImplementation;
 import org.apache.tuscany.spi.services.management.TuscanyManagementService;
 import org.apache.tuscany.spi.wire.WireService;
 
@@ -262,4 +263,19 @@
 
         return (CompositeComponent) deployer.deploy(parent, definition);
     }
+
+    protected CompositeComponent deployApplicationScdl(Deployer deployer,
+			CompositeComponent parent, String name, URL applicationScdl,
+			ClassLoader applicationClassLoader) throws LoaderException,
+			BuilderException, ComponentException {
+
+		CompositeImplementation impl = new CompositeImplementation();
+		impl.setScdlLocation(applicationScdl);
+		impl.setClassLoader(applicationClassLoader);
+		ComponentDefinition<CompositeImplementation> definition = new ComponentDefinition<CompositeImplementation>(
+				name, impl);
+
+		return (CompositeComponent) deployer.deploy(parent, definition);
+	}
+
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org