tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmar...@apache.org
Subject svn commit: r440258 - in /incubator/tuscany/java/sca/kernel: core/src/main/java/org/apache/tuscany/core/implementation/composite/AbstractCompositeComponent.java spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java
Date Tue, 05 Sep 2006 04:46:54 GMT
Author: jmarino
Date: Mon Sep  4 21:46:53 2006
New Revision: 440258

URL: http://svn.apache.org/viewvc?view=rev&rev=440258
Log:
cleanup prepare method on abstract composite impl

Modified:
    incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/AbstractCompositeComponent.java
    incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java

Modified: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/AbstractCompositeComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/AbstractCompositeComponent.java?view=diff&rev=440258&r1=440257&r2=440258
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/AbstractCompositeComponent.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/composite/AbstractCompositeComponent.java
Mon Sep  4 21:46:53 2006
@@ -239,6 +239,8 @@
 
     public void prepare() {
         for (SCAObject<?> child : children.values()) {
+            // connect all children
+            // TODO for composite wires, should delegate down
             connector.connect(child);
             child.prepare();
         }

Modified: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java?view=diff&rev=440258&r1=440257&r2=440258
==============================================================================
--- incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java
(original)
+++ incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java
Mon Sep  4 21:46:53 2006
@@ -209,12 +209,6 @@
         }
     }
 
-    public void prepare() {
-        for (SCAObject object : children.values()) {
-            object.prepare();
-        }
-    }
-
     public TargetInvoker createAsyncTargetInvoker(OutboundWire wire, Operation operation)
{
         throw new UnsupportedOperationException();
     }



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


Mime
View raw message