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

svn commit: r505857 - in /incubator/tuscany/java/sca/runtime/standalone: standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/ standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/

Author: jmarino
Date: Sat Feb 10 22:55:51 2007
New Revision: 505857

URL: http://svn.apache.org/viewvc?view=rev&rev=505857
Log:
changes to bring up standalone runtime

Modified:
    incubator/tuscany/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfo.java
    incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/StandaloneRuntimeImpl.java

Modified: incubator/tuscany/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfo.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfo.java?view=diff&rev=505857&r1=505856&r2=505857
==============================================================================
--- incubator/tuscany/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfo.java (original)
+++ incubator/tuscany/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfo.java Sat Feb 10 22:55:51 2007
@@ -27,7 +27,8 @@
  * @version $Rev$ $Date$
  */
 public interface StandaloneRuntimeInfo extends RuntimeInfo {
-    static URI COMPONENT_NAME = URI.create("StandaloneRuntimeInfo");
+
+    URI STANDALONE_COMPONENT_URI = URI.create("sca://StandaloneRuntimeInfo");
 
     /**
      * Return the directory where the standalone distribution was installed.

Modified: incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/StandaloneRuntimeImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/StandaloneRuntimeImpl.java?view=diff&rev=505857&r1=505856&r2=505857
==============================================================================
--- incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/StandaloneRuntimeImpl.java (original)
+++ incubator/tuscany/java/sca/runtime/standalone/standalone-host/src/main/java/org/apache/tuscany/runtime/standalone/host/StandaloneRuntimeImpl.java Sat Feb 10 22:55:51 2007
@@ -28,10 +28,11 @@
  * @version $Rev$ $Date$
  */
 public class StandaloneRuntimeImpl extends AbstractRuntime {
+
     protected void registerSystemComponents() throws InitializationException {
         super.registerSystemComponents();
         try {
-            getComponentManager().registerJavaObject(StandaloneRuntimeInfo.COMPONENT_NAME,
+            getComponentManager().registerJavaObject(StandaloneRuntimeInfo.STANDALONE_COMPONENT_URI,
                 StandaloneRuntimeInfo.class,
                 (StandaloneRuntimeInfo) getRuntimeInfo());
         } catch (ComponentRegistrationException e) {



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