tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmar...@apache.org
Subject svn commit: r411390 [2/2] - in /incubator/tuscany/sandbox/jboynes/sca: containers/container.groovy/src/main/java/org/apache/tuscany/container/groovy/ containers/container.groovy/src/test/java/org/apache/tuscany/container/groovy/ containers/container.ja...
Date Sat, 03 Jun 2006 06:30:32 GMT
Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/component/SystemSingletonAtomicComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/component/SystemSingletonAtomicComponent.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/component/SystemSingletonAtomicComponent.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/component/SystemSingletonAtomicComponent.java Fri Jun  2 23:30:28 2006
@@ -56,7 +56,7 @@
         return getTargetInstance();
     }
 
-    public S getService() throws TargetException {
+    public S getServiceInstance() throws TargetException {
         return getTargetInstance();
     }
 

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemBindingLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemBindingLoader.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemBindingLoader.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemBindingLoader.java Fri Jun  2 23:30:28 2006
@@ -28,6 +28,8 @@
 import org.apache.tuscany.spi.loader.LoaderRegistry;
 
 /**
+ * Loads a system binding specified in an XML-based assembly
+ *
  * @version $Rev$ $Date$
  */
 public class SystemBindingLoader extends LoaderExtension<SystemBinding> {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemComponentTypeLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemComponentTypeLoader.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemComponentTypeLoader.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemComponentTypeLoader.java Fri Jun  2 23:30:28 2006
@@ -26,6 +26,8 @@
 import org.apache.tuscany.spi.loader.LoaderException;
 
 /**
+ * Loads a system component type
+ *
  * @version $Rev$ $Date$
  */
 public class SystemComponentTypeLoader extends ComponentTypeLoaderExtension<SystemImplementation> {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemCompositeComponentTypeLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemCompositeComponentTypeLoader.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemCompositeComponentTypeLoader.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemCompositeComponentTypeLoader.java Fri Jun  2 23:30:28 2006
@@ -26,6 +26,8 @@
 import org.apache.tuscany.spi.model.CompositeComponentType;
 
 /**
+ * Loads a system composite component type
+ *
  * @version $Rev$ $Date$
  */
 public class SystemCompositeComponentTypeLoader extends ComponentTypeLoaderExtension<SystemCompositeImplementation> {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemImplementationLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemImplementationLoader.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemImplementationLoader.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/loader/SystemImplementationLoader.java Fri Jun  2 23:30:28 2006
@@ -28,6 +28,8 @@
 import org.apache.tuscany.spi.loader.LoaderRegistry;
 
 /**
+ * Loads information for a system implementation
+ *
  * @version $Rev$ $Date$
  */
 public class SystemImplementationLoader extends LoaderExtension<SystemImplementation> {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/model/SystemCompositeImplementation.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/model/SystemCompositeImplementation.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/model/SystemCompositeImplementation.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/model/SystemCompositeImplementation.java Fri Jun  2 23:30:28 2006
@@ -22,7 +22,7 @@
 import org.apache.tuscany.spi.model.Implementation;
 
 /**
- * Represents a system composite type.
+ * Represents a system composite type
  *
  * @version $Rev$ $Date$
  */

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemInboundWire.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemInboundWire.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemInboundWire.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemInboundWire.java Fri Jun  2 23:30:28 2006
@@ -3,6 +3,9 @@
 import org.apache.tuscany.spi.wire.InboundWire;
 
 /**
+ * Specified by a {@link org.apache.tuscany.core.system.model.SystemBinding}, a specialized inbound wire that
+ * returns a direct reference to the target.
+ *
  * @version $$Rev$$ $$Date$$
  */
 public interface SystemInboundWire<T> extends InboundWire<T> {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemInboundWireImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemInboundWireImpl.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemInboundWireImpl.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemInboundWireImpl.java Fri Jun  2 23:30:28 2006
@@ -10,8 +10,7 @@
 import org.apache.tuscany.spi.wire.OutboundWire;
 
 /**
- * An inbound wire configured to use the {@link org.apache.tuscany.core.system.model.SystemBinding}. System
- * wires bind directly to their targets without proxying or interposing invocation chains.
+ * Default implementation of an inbound system wire
  *
  * @version $$Rev$$ $$Date$$
  */

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundAutowire.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundAutowire.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundAutowire.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundAutowire.java Fri Jun  2 23:30:28 2006
@@ -12,7 +12,7 @@
 import org.apache.tuscany.spi.wire.OutboundInvocationChain;
 
 /**
- * An outbound wire that relies on the runtime autowire algorithm to resolve a target instance
+ * A specialization of <code>OutboundAutowire</code> that returns a direct reference to the target
  *
  * @version $$Rev$$ $$Date$$
  */

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundWire.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundWire.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundWire.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundWire.java Fri Jun  2 23:30:28 2006
@@ -3,6 +3,9 @@
 import org.apache.tuscany.spi.wire.OutboundWire;
 
 /**
+ * Specified by a {@link org.apache.tuscany.core.system.model.SystemBinding}, a specialized outbound wire that
+ * returns a direct reference to the target.
+ *
  * @version $$Rev$$ $$Date$$
  */
 public interface SystemOutboundWire<T> extends OutboundWire<T> {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundWireImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundWireImpl.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundWireImpl.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/system/wire/SystemOutboundWireImpl.java Fri Jun  2 23:30:28 2006
@@ -10,8 +10,7 @@
 import org.apache.tuscany.spi.wire.OutboundInvocationChain;
 
 /**
- * An outbound wire configured to use the {@link org.apache.tuscany.core.system.model.SystemBinding}. System
- * wires bind directly to their targets without prxying or interposing invocation chains.
+ * Default implementation of a system outbound wire
  *
  * @version $$Rev$$ $$Date$$
  */

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/wire/OutboundAutowire.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/wire/OutboundAutowire.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/wire/OutboundAutowire.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/wire/OutboundAutowire.java Fri Jun  2 23:30:28 2006
@@ -3,7 +3,7 @@
 import org.apache.tuscany.spi.wire.OutboundWire;
 
 /**
- * The source side of an wire configured to autowire
+ * A specialized outbound wire that uses an autowire algorithm to return reference to the target.
  *
  * @version $$Rev$$ $$Date$$
  */

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/wire/OutboundInvocationChainImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/wire/OutboundInvocationChainImpl.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/wire/OutboundInvocationChainImpl.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/main/java/org/apache/tuscany/core/wire/OutboundInvocationChainImpl.java Fri Jun  2 23:30:28 2006
@@ -21,7 +21,7 @@
 import org.apache.tuscany.spi.wire.OutboundInvocationChain;
 
 /**
- * Contains a source-side invocation pipeline for a service operation.
+ * Contains a outgoing invocation pipeline for a service operation.
  *
  * @version $Rev: 394379 $ $Date: 2006-04-15 15:01:36 -0700 (Sat, 15 Apr 2006) $
  */

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/HttpSessionScopeRestartTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/HttpSessionScopeRestartTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/HttpSessionScopeRestartTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/HttpSessionScopeRestartTestCase.java Fri Jun  2 23:30:28 2006
@@ -13,6 +13,7 @@
 import org.apache.tuscany.spi.component.WorkContext;
 
 /**
+ * Verifies the scope container properly disposes resources and canbe restarted
  * @version $$Rev$$ $$Date$$
  */
 public class HttpSessionScopeRestartTestCase extends TestCase {
@@ -32,8 +33,8 @@
         Object session = new Object();
         ctx.setIdentifier(HttpSessionScopeContext.HTTP_IDENTIFIER, session);
         scope.onEvent(new HttpSessionStart(this, session));
-        Object instance = context.getService();
-        assertSame(instance, context.getService());
+        Object instance = context.getServiceInstance();
+        assertSame(instance, context.getServiceInstance());
 
         scope.onEvent(new HttpSessionEnd(this, session));
         scope.stop();
@@ -41,9 +42,8 @@
 
         scope.start();
         scope.onEvent(new HttpSessionStart(this, session));
-        scope.register(context);
         context.start();
-        assertNotSame(instance, context.getService());
+        assertNotSame(instance, context.getServiceInstance());
         scope.onEvent(new HttpSessionEnd(this, session));
         scope.stop();
         context.stop();

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/ModuleScopeRestartTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/ModuleScopeRestartTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/ModuleScopeRestartTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/ModuleScopeRestartTestCase.java Fri Jun  2 23:30:28 2006
@@ -13,6 +13,8 @@
 import org.apache.tuscany.spi.component.WorkContext;
 
 /**
+ * Verifies the scope container properly disposes resources and canbe restarted
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class ModuleScopeRestartTestCase extends TestCase {
@@ -30,8 +32,8 @@
         context.start();
 
         scope.onEvent(new CompositeStart(this, null));
-        Object instance = context.getService();
-        assertSame(instance, context.getService());
+        Object instance = context.getServiceInstance();
+        assertSame(instance, context.getServiceInstance());
 
         scope.onEvent(new CompositeStop(this, null));
         scope.stop();
@@ -39,9 +41,8 @@
 
         scope.start();
         scope.onEvent(new CompositeStart(this, null));
-        scope.register(context);
         context.start();
-        assertNotSame(instance, context.getService());
+        assertNotSame(instance, context.getServiceInstance());
         scope.onEvent(new CompositeStop(this, null));
         scope.stop();
         context.stop();

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/RequestScopeRestartTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/RequestScopeRestartTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/RequestScopeRestartTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/RequestScopeRestartTestCase.java Fri Jun  2 23:30:28 2006
@@ -12,6 +12,8 @@
 import org.apache.tuscany.spi.component.WorkContext;
 
 /**
+ * Verifies the scope container properly disposes resources and canbe restarted
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class RequestScopeRestartTestCase extends TestCase {
@@ -28,17 +30,16 @@
                 RequestScopeRestartTestCase.InitDestroyOnce.class, false, initInvoker, destroyInvoker, null, null);
         context.start();
 
-        Object instance = context.getService();
-        assertSame(instance, context.getService());
+        Object instance = context.getServiceInstance();
+        assertSame(instance, context.getServiceInstance());
 
         scope.onEvent(new RequestEnd(this));
         scope.stop();
         context.stop();
 
         scope.start();
-        scope.register(context);
         context.start();
-        assertNotSame(instance, context.getService());
+        assertNotSame(instance, context.getServiceInstance());
         scope.onEvent(new RequestEnd(this));
         scope.stop();
         context.stop();

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/ScopeRegistryTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/ScopeRegistryTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/ScopeRegistryTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/component/scope/ScopeRegistryTestCase.java Fri Jun  2 23:30:28 2006
@@ -8,6 +8,8 @@
 import org.apache.tuscany.spi.model.Scope;
 
 /**
+ * Verifies retrieval of standard scope contexts from the default scope registry
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class ScopeRegistryTestCase extends TestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/deployer/BootstrapDeployerTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/deployer/BootstrapDeployerTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/deployer/BootstrapDeployerTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/deployer/BootstrapDeployerTestCase.java Fri Jun  2 23:30:28 2006
@@ -34,6 +34,8 @@
 import org.apache.tuscany.spi.model.ServiceDefinition;
 
 /**
+ * Verifies the default boostrap deployer
+ *
  * @version $Rev$ $Date$
  */
 public class BootstrapDeployerTestCase extends TestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/integration/system/builder/AutowireBuilderTestcase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/integration/system/builder/AutowireBuilderTestcase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/integration/system/builder/AutowireBuilderTestcase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/integration/system/builder/AutowireBuilderTestcase.java Fri Jun  2 23:30:28 2006
@@ -66,12 +66,12 @@
 
         grandParent.start();
         scope.onEvent(new CompositeStart(this, parent));
-        Source source = (Source) parent.getChild("source").getService();
+        Source source = (Source) parent.getChild("source").getServiceInstance();
         assertNotNull(source);
-        Target target = (Target) parent.getChild("target").getService();
+        Target target = (Target) parent.getChild("target").getServiceInstance();
         assertNotNull(target);
         assertSame(target, source.getTarget());
-        assertSame(target, grandParent.getChild("target").getService());
+        assertSame(target, grandParent.getChild("target").getServiceInstance());
         scope.onEvent(new CompositeStop(this, parent));
         grandParent.stop();
         scope.stop();
@@ -100,9 +100,9 @@
 
         parent.start();
         scope.onEvent(new CompositeStart(this, parent));
-        Source source = (Source) parent.getChild("source").getService();
+        Source source = (Source) parent.getChild("source").getServiceInstance();
         assertNotNull(source);
-        Target target = (Target) parent.getChild("target").getService();
+        Target target = (Target) parent.getChild("target").getServiceInstance();
         assertNotNull(target);
         assertSame(target, source.getTarget());
         scope.onEvent(new CompositeStop(this, parent));

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/integration/system/builder/SystemBuildersTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/integration/system/builder/SystemBuildersTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/integration/system/builder/SystemBuildersTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/integration/system/builder/SystemBuildersTestCase.java Fri Jun  2 23:30:28 2006
@@ -60,9 +60,9 @@
         connector.connect(targetComponent);
         parent.start();
         scope.onEvent(new CompositeStart(this, parent));
-        Source source = (Source) parent.getChild("source").getService();
+        Source source = (Source) parent.getChild("source").getServiceInstance();
         assertNotNull(source);
-        Target target = (Target) parent.getChild("target").getService();
+        Target target = (Target) parent.getChild("target").getServiceInstance();
         assertNotNull(target);
         assertSame(target, source.getTarget());
         scope.onEvent(new CompositeStop(this, parent));
@@ -103,9 +103,9 @@
         grandParent.register(parent);
         grandParent.start();
         scope.onEvent(new CompositeStart(this, parent));
-        Source source = (Source) parent.getChild("source").getService();
+        Source source = (Source) parent.getChild("source").getServiceInstance();
         assertNotNull(source);
-        Target target = (Target) parent.getChild("target").getService();
+        Target target = (Target) parent.getChild("target").getServiceInstance();
         assertNotNull(target);
         assertSame(target, source.getTarget());
         scope.onEvent(new CompositeStop(this, parent));
@@ -144,9 +144,9 @@
         connector.connect(service.getOutboundWire(), sourceComponent.getInboundWire(serviceName), parent, true);
         parent.start();
         scope.onEvent(new CompositeStart(this, parent));
-        Target target = (Target) parent.getChild("serviceDefinition").getService();
+        Target target = (Target) parent.getChild("serviceDefinition").getServiceInstance();
         assertNotNull(target);
-        Target target2 = (Target) parent.getChild("target").getService();
+        Target target2 = (Target) parent.getChild("target").getServiceInstance();
         assertNotNull(target);
         assertSame(target, target2);
         scope.onEvent(new CompositeStop(this, parent));

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/loader/ServiceLoaderTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/loader/ServiceLoaderTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/loader/ServiceLoaderTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/loader/ServiceLoaderTestCase.java Fri Jun  2 23:30:28 2006
@@ -30,6 +30,8 @@
 import org.jmock.MockObjectTestCase;
 
 /**
+ * Verifies loading of a service definition from an XML-based assembly
+ *
  * @version $Rev$ $Date$
  */
 public class ServiceLoaderTestCase extends MockObjectTestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/loader/StAXLoaderRegistryImplTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/loader/StAXLoaderRegistryImplTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/loader/StAXLoaderRegistryImplTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/loader/StAXLoaderRegistryImplTestCase.java Fri Jun  2 23:30:28 2006
@@ -29,6 +29,8 @@
 import org.jmock.MockObjectTestCase;
 
 /**
+ * Verifies the default loader registry
+ *
  * @version $Rev$ $Date$
  */
 @SuppressWarnings({"CastToIncompatibleInterface"})

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/policy/async/AsyncInterceptorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/policy/async/AsyncInterceptorTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/policy/async/AsyncInterceptorTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/policy/async/AsyncInterceptorTestCase.java Fri Jun  2 23:30:28 2006
@@ -14,6 +14,8 @@
 import org.jmock.core.Stub;
 
 /**
+ * Verfies basic async invocations
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class AsyncInterceptorTestCase extends MockObjectTestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/services/workmanager/DefaultWorkManagerTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/services/workmanager/DefaultWorkManagerTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/services/workmanager/DefaultWorkManagerTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/services/workmanager/DefaultWorkManagerTestCase.java Fri Jun  2 23:30:28 2006
@@ -9,6 +9,8 @@
 import junit.framework.TestCase;
 
 /**
+ * Verifies the default work manager implementation used by the runtime
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class DefaultWorkManagerTestCase extends TestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/services/wsdl/WSDLDefinitionRegistryTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/services/wsdl/WSDLDefinitionRegistryTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/services/wsdl/WSDLDefinitionRegistryTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/services/wsdl/WSDLDefinitionRegistryTestCase.java Fri Jun  2 23:30:28 2006
@@ -25,6 +25,8 @@
 import junit.framework.TestCase;
 
 /**
+ * Verifies the default WSDL registry implementation
+ *
  * @version $Rev$ $Date$
  */
 public class WSDLDefinitionRegistryTestCase extends TestCase {

Copied: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireResolutionTestCase.java (from r411384, incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeComponentTestCase.java)
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireResolutionTestCase.java?p2=incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireResolutionTestCase.java&p1=incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeComponentTestCase.java&r1=411384&r2=411390&rev=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeComponentTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireResolutionTestCase.java Fri Jun  2 23:30:28 2006
@@ -22,9 +22,11 @@
 import org.jmock.MockObjectTestCase;
 
 /**
+ * Verfies specific autowire resolution scenarios
+ *
  * @version $Rev$ $Date$
  */
-public class SystemCompositeComponentTestCase extends MockObjectTestCase {
+public class AutowireResolutionTestCase extends MockObjectTestCase {
     private SystemCompositeComponentImpl<?> context;
     private Mock parent;
     private Mock autowire;

Propchange: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireResolutionTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireResolutionTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/AutowireTestCase.java Fri Jun  2 23:30:28 2006
@@ -28,7 +28,7 @@
         Source originalSource = new SourceImpl();
         Mock mock = mock(SystemAtomicComponent.class);
         mock.stubs().method("getName").will(returnValue("source"));
-        mock.stubs().method("getService").will(returnValue(originalSource));
+        mock.stubs().method("getServiceInstance").will(returnValue(originalSource));
         mock.stubs().method("getServiceInterfaces").will(returnValue(interfaces));
         SystemAtomicComponent context = (SystemAtomicComponent) mock.proxy();
         parent.register(context);
@@ -54,7 +54,7 @@
         Source serviceSource = new SourceImpl();
         Mock mock = mock(SystemService.class);
         mock.stubs().method("getName").will(returnValue("service"));
-        mock.stubs().method("getService").will(returnValue(serviceSource));
+        mock.stubs().method("getServiceInstance").will(returnValue(serviceSource));
         mock.stubs().method("getInterface").will(returnValue(Source.class));
         SystemService serviceContext = (SystemService) mock.proxy();
         parent.register(serviceContext);
@@ -62,7 +62,7 @@
         Source atomicSource = new SourceImpl();
         Mock mock2 = mock(SystemAtomicComponent.class);
         mock2.stubs().method("getName").will(returnValue("source"));
-        mock2.stubs().method("getService").will(returnValue(atomicSource));
+        mock2.stubs().method("getServiceInstance").will(returnValue(atomicSource));
         mock2.stubs().method("getServiceInterfaces").will(returnValue(interfaces));
         SystemAtomicComponent context = (SystemAtomicComponent) mock2.proxy();
         parent.register(context);
@@ -83,7 +83,7 @@
         Source refSource = new SourceImpl();
         Mock mock = mock(SystemReference.class);
         mock.stubs().method("getName").will(returnValue("service"));
-        mock.stubs().method("getService").will(returnValue(refSource));
+        mock.stubs().method("getServiceInstance").will(returnValue(refSource));
         mock.stubs().method("getInterface").will(returnValue(Source.class));
         SystemReference referenceContext = (SystemReference) mock.proxy();
         parent.register(referenceContext);

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/DuplicateRegistrationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/DuplicateRegistrationTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/DuplicateRegistrationTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/DuplicateRegistrationTestCase.java Fri Jun  2 23:30:28 2006
@@ -9,6 +9,8 @@
 import org.jmock.MockObjectTestCase;
 
 /**
+ * Verfies children with the same name cannot be registered in the same composite
+ *
  * @version $Rev$ $Date$
  */
 public class DuplicateRegistrationTestCase extends MockObjectTestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemAtomicComponentTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemAtomicComponentTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemAtomicComponentTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemAtomicComponentTestCase.java Fri Jun  2 23:30:28 2006
@@ -7,6 +7,8 @@
 import org.apache.tuscany.spi.ObjectFactory;
 
 /**
+ * Verifies a system atomic component can be started and initialized
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class SystemAtomicComponentTestCase extends TestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeComponentResolutionTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeComponentResolutionTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeComponentResolutionTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeComponentResolutionTestCase.java Fri Jun  2 23:30:28 2006
@@ -10,11 +10,13 @@
 import org.jmock.MockObjectTestCase;
 
 /**
+ * Verifies an atomic component can be resolved from its parent
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class SystemCompositeComponentResolutionTestCase extends MockObjectTestCase {
 
-    public void testContextResolution() throws NoSuchMethodException {
+    public void testComponentResolution() throws NoSuchMethodException {
         SystemCompositeComponent parent = new SystemCompositeComponentImpl("foo", null, null);
         parent.start();
         List<Class<?>> interfaces = new ArrayList<Class<?>>();
@@ -22,12 +24,12 @@
         Source originalSource = new SourceImpl();
         Mock mock = mock(SystemAtomicComponent.class);
         mock.stubs().method("getName").will(returnValue("source"));
-        mock.stubs().method("getService").will(returnValue(originalSource));
+        mock.stubs().method("getServiceInstance").will(returnValue(originalSource));
         mock.stubs().method("getServiceInterfaces").will(returnValue(interfaces));
         SystemAtomicComponent context = (SystemAtomicComponent) mock.proxy();
         parent.register(context);
         AtomicComponent ctx = (AtomicComponent) parent.getChild("source");
-        Source source = (Source) ctx.getService();
+        Source source = (Source) ctx.getServiceInstance();
         assertNotNull(source);
     }
 

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeLifecycleTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeLifecycleTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeLifecycleTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemCompositeLifecycleTestCase.java Fri Jun  2 23:30:28 2006
@@ -33,18 +33,18 @@
         mock.expects(atLeastOnce()).method("start");
         mock.expects(atLeastOnce()).method("stop");
         mock.stubs().method("getName").will(returnValue("source"));
-        mock.stubs().method("getService").will(returnValue(originalSource));
+        mock.stubs().method("getServiceInstance").will(returnValue(originalSource));
         mock.stubs().method("getServiceInterfaces").will(returnValue(interfaces));
         SystemAtomicComponent context = (SystemAtomicComponent) mock.proxy();
         composite.register(context);
 
         AtomicComponent ctx = (AtomicComponent) composite.getChild("source");
-        Source source = (Source) ctx.getService();
+        Source source = (Source) ctx.getServiceInstance();
         assertNotNull(source);
         composite.stop();
         composite.start();
         ctx = (AtomicComponent) composite.getChild("source");
-        Source source2 = (Source) ctx.getService();
+        Source source2 = (Source) ctx.getServiceInstance();
         assertNotNull(source2);
         composite.stop();
 

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemObjectRegistrationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemObjectRegistrationTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemObjectRegistrationTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/component/SystemObjectRegistrationTestCase.java Fri Jun  2 23:30:28 2006
@@ -16,7 +16,7 @@
     public void testRegistration() throws Exception {
         MockComponent instance = new MockComponent();
         systemContext.registerJavaObject("foo", MockComponent.class, instance);
-        MockComponent resolvedInstance = (MockComponent) systemContext.getChild("foo").getService();
+        MockComponent resolvedInstance = (MockComponent) systemContext.getChild("foo").getServiceInstance();
         assertSame(instance, resolvedInstance);
     }
 

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/wire/AtomicComponentWireInvocationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/wire/AtomicComponentWireInvocationTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/wire/AtomicComponentWireInvocationTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/wire/AtomicComponentWireInvocationTestCase.java Fri Jun  2 23:30:28 2006
@@ -41,6 +41,6 @@
         outboundWire.setTargetWire(inboundWire);
         sourceContext.addOutboundWire(outboundWire);
         sourceContext.start();
-        assertSame(((Source) sourceContext.getService()).getTarget(), target); // wires should pass back direct ref
+        assertSame(((Source) sourceContext.getServiceInstance()).getTarget(), target); // wires should pass back direct ref
     }
 }

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/wire/SystemServiceComponentWireTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/wire/SystemServiceComponentWireTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/wire/SystemServiceComponentWireTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/system/wire/SystemServiceComponentWireTestCase.java Fri Jun  2 23:30:28 2006
@@ -26,6 +26,6 @@
         serviceContext.setInboundWire(wire);
         serviceContext.setOutboundWire(outboundWire);
         wire.setTargetWire(outboundWire);
-        assertSame(target, serviceContext.getService());
+        assertSame(target, serviceContext.getServiceInstance());
     }
 }

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/wire/JDKInboundInvocationHandlerTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/wire/JDKInboundInvocationHandlerTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/wire/JDKInboundInvocationHandlerTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/wire/JDKInboundInvocationHandlerTestCase.java Fri Jun  2 23:30:28 2006
@@ -14,6 +14,8 @@
 import org.jmock.MockObjectTestCase;
 
 /**
+ * Verifies invocations on inbound wires
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class JDKInboundInvocationHandlerTestCase extends MockObjectTestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/wire/WireOptimizationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/wire/WireOptimizationTestCase.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/wire/WireOptimizationTestCase.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/core2/src/test/java/org/apache/tuscany/core/wire/WireOptimizationTestCase.java Fri Jun  2 23:30:28 2006
@@ -13,6 +13,8 @@
 import org.apache.tuscany.spi.wire.TargetInvoker;
 
 /**
+ * Verifies wire optimization analysis
+ *
  * @version $$Rev$$ $$Date$$
  */
 public class WireOptimizationTestCase extends TestCase {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/Lifecycle.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/Lifecycle.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/Lifecycle.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/Lifecycle.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi;
 
 /**
+ * Implementations adhere to runtime lifecycle semantics
+ *
  * @version $Rev$ $Date$
  */
 public interface Lifecycle {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/SCAObject.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/SCAObject.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/SCAObject.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/SCAObject.java Fri Jun  2 23:30:28 2006
@@ -47,7 +47,7 @@
      *
      * @throws TargetException if an error occurs retrieving the instance
      */
-    T getService() throws TargetException;
+    T getServiceInstance() throws TargetException;
 
     /**
      * Called to signal that the parent composite has been activated and that the artifact should perform any

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/ScopeRuntimeException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/ScopeRuntimeException.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/ScopeRuntimeException.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/ScopeRuntimeException.java Fri Jun  2 23:30:28 2006
@@ -19,7 +19,7 @@
 import org.apache.tuscany.spi.CoreRuntimeException;
 
 /**
- * Denotes a general runtime exception encountered by a scope container
+ * Denotes a general runtime exception encountered by a scope context
  *
  * @version $Rev$ $Date$
  */

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/WorkContext.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/WorkContext.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/WorkContext.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/component/WorkContext.java Fri Jun  2 23:30:28 2006
@@ -1,6 +1,8 @@
 package org.apache.tuscany.spi.component;
 
 /**
+ * Implementations track information associated with a request as it is processed by the runtime
+ *
  * @version $Rev: 393567 $ $Date: 2006-04-12 11:28:58 -0700 (Wed, 12 Apr 2006) $
  */
 public interface WorkContext {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/CompositeComponentExtension.java Fri Jun  2 23:30:28 2006
@@ -112,7 +112,7 @@
         return Collections.unmodifiableList(references);
     }
 
-    public T getService() throws TargetException {
+    public T getServiceInstance() throws TargetException {
         return null;  //TODO implement
     }
 
@@ -123,7 +123,7 @@
             e.addContextName(getName());
             throw e;
         } else if (context instanceof Service) {
-            return context.getService();
+            return context.getServiceInstance();
         } else {
             IllegalTargetException e = new IllegalTargetException("Target must be a service");
             e.setIdentifier(name);

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ReferenceExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ReferenceExtension.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ReferenceExtension.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ReferenceExtension.java Fri Jun  2 23:30:28 2006
@@ -69,7 +69,7 @@
         this.referenceInterface = referenceInterface;
     }
 
-    public T getService() throws TargetException {
+    public T getServiceInstance() throws TargetException {
         return wireService.createProxy(inboundWire);// inboundWire.getTargetService();
     }
 

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ServiceExtension.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ServiceExtension.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ServiceExtension.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/extension/ServiceExtension.java Fri Jun  2 23:30:28 2006
@@ -48,7 +48,7 @@
         this.outboundWire = outboundWire;
     }
 
-    public T getService() throws TargetException {
+    public T getServiceInstance() throws TargetException {
         return wireService.createProxy(inboundWire);
 //        if (target == null) {
 //            target = inboundWire.getTargetService();

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/AtomicImplementation.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/AtomicImplementation.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/AtomicImplementation.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/AtomicImplementation.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * The base representation of an atomic component implementation
+ *
  * @version $Rev$ $Date$
  */
 public abstract class AtomicImplementation<T extends ComponentType> extends Implementation<T> {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Binding.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Binding.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Binding.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Binding.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * The base representation of a binding specified in an assembly
+ *
  * @version $Rev$ $Date$
  */
 public abstract class Binding extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/BoundReferenceDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/BoundReferenceDefinition.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/BoundReferenceDefinition.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/BoundReferenceDefinition.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * Represents a reference configured with a binding in a composite
+ *
  * @version $Rev$ $Date$
  */
 public class BoundReferenceDefinition<B extends Binding> extends ReferenceDefinition {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/BoundServiceDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/BoundServiceDefinition.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/BoundServiceDefinition.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/BoundServiceDefinition.java Fri Jun  2 23:30:28 2006
@@ -19,6 +19,8 @@
 import java.net.URI;
 
 /**
+ * Represents a component service specified in an assembly
+ *
  * @version $Rev$ $Date$
  */
 public class BoundServiceDefinition<B extends Binding> extends ServiceDefinition {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ComponentDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ComponentDefinition.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ComponentDefinition.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ComponentDefinition.java Fri Jun  2 23:30:28 2006
@@ -20,6 +20,8 @@
 import java.util.Map;
 
 /**
+ * Represents a component specified in an assembly
+ *
  * @version $Rev$ $Date$
  */
 public class ComponentDefinition<I extends Implementation<?>> extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ComponentType.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ComponentType.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ComponentType.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ComponentType.java Fri Jun  2 23:30:28 2006
@@ -20,6 +20,8 @@
 import java.util.Map;
 
 /**
+ * The base representation of a component type
+ *
  * @version $Rev$ $Date$
  */
 public class ComponentType<S extends ServiceDefinition, R extends ReferenceDefinition, P extends Property<?>> extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeComponentType.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeComponentType.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeComponentType.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeComponentType.java Fri Jun  2 23:30:28 2006
@@ -20,6 +20,8 @@
 import java.util.Map;
 
 /**
+ * A specialization of component type for composite components
+ *
  * @version $Rev$ $Date$
  */
 public class CompositeComponentType<S extends ServiceDefinition, R extends ReferenceDefinition, P extends Property<?>> extends ComponentType<S, R, P> {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeImplementation.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeImplementation.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeImplementation.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/CompositeImplementation.java Fri Jun  2 23:30:28 2006
@@ -19,6 +19,8 @@
 import java.net.URL;
 
 /**
+ * A specialization of an implementation associated with composite components
+ *
  * @version $Rev$ $Date$
  */
 public class CompositeImplementation extends Implementation<CompositeComponentType> {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Implementation.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Implementation.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Implementation.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Implementation.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * Represents a component implementation
+ *
  * @version $Rev$ $Date$
  */
 public abstract class Implementation<T extends ComponentType> extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/InteractionScope.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/InteractionScope.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/InteractionScope.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/InteractionScope.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,7 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * Represents the interaction scope specifed for a service
  * @version $Rev$ $Date$
  */
 public enum InteractionScope {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaServiceContract.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaServiceContract.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaServiceContract.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/JavaServiceContract.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * Represents a service contract specified using a Java interface
+ *
  * @version $Rev$ $Date$
  */
 public class JavaServiceContract extends ServiceContract {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ModelObject.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ModelObject.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ModelObject.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ModelObject.java Fri Jun  2 23:30:28 2006
@@ -20,6 +20,8 @@
 import java.util.Map;
 
 /**
+ * The base class for assembly model subtypes
+ *
  * @version $Rev$ $Date$
  */
 public abstract class ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Property.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Property.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Property.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Property.java Fri Jun  2 23:30:28 2006
@@ -19,6 +19,8 @@
 import javax.xml.namespace.QName;
 
 /**
+ * A component property
+ *
  * @version $Rev$ $Date$
  */
 public class Property<T> extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/PropertyValue.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/PropertyValue.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/PropertyValue.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/PropertyValue.java Fri Jun  2 23:30:28 2006
@@ -19,6 +19,8 @@
 import org.apache.tuscany.spi.ObjectFactory;
 
 /**
+ * Represents a configured component property
+ *
  * @version $Rev$ $Date$
  */
 public class PropertyValue<T> extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ReferenceDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ReferenceDefinition.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ReferenceDefinition.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ReferenceDefinition.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * Represents a component reference
+ *
  * @version $Rev$ $Date$
  */
 public class ReferenceDefinition extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ReferenceTarget.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ReferenceTarget.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ReferenceTarget.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ReferenceTarget.java Fri Jun  2 23:30:28 2006
@@ -21,6 +21,8 @@
 import java.util.List;
 
 /**
+ * Represents the set of targets configured on a reference
+ *
  * @version $Rev$ $Date$
  */
 public class ReferenceTarget extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Scope.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Scope.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Scope.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/Scope.java Fri Jun  2 23:30:28 2006
@@ -1,7 +1,7 @@
 package org.apache.tuscany.spi.model;
 
 /**
- * The default scopes supported by assemblies.
+ * The default implementation scopes supported by assemblies.
  */
 public enum Scope {
     STATELESS,

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ServiceContract.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ServiceContract.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ServiceContract.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ServiceContract.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * Base class representing service contract information
+ *
  * @version $Rev$ $Date$
  */
 public abstract class ServiceContract extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ServiceDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ServiceDefinition.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ServiceDefinition.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/ServiceDefinition.java Fri Jun  2 23:30:28 2006
@@ -17,6 +17,8 @@
 package org.apache.tuscany.spi.model;
 
 /**
+ * Represents a service offered by a component
+ *
  * @version $Rev$ $Date$
  */
 public class ServiceDefinition extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/WSDLServiceContract.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/WSDLServiceContract.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/WSDLServiceContract.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/WSDLServiceContract.java Fri Jun  2 23:30:28 2006
@@ -19,6 +19,8 @@
 import javax.wsdl.PortType;
 
 /**
+ * Represents a service contract specified by a WSDL
+ *
  * @version $Rev$ $Date$
  */
 public class WSDLServiceContract extends ServiceContract {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/WireDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/WireDefinition.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/WireDefinition.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/model/WireDefinition.java Fri Jun  2 23:30:28 2006
@@ -19,6 +19,8 @@
 import java.net.URI;
 
 /**
+ * Represents a wire specified in an assembly
+ *
  * @version $Rev$ $Date$
  */
 public class WireDefinition extends ModelObject {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/services/wsdl/WSDLDefinitionRegistry.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/services/wsdl/WSDLDefinitionRegistry.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/services/wsdl/WSDLDefinitionRegistry.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/services/wsdl/WSDLDefinitionRegistry.java Fri Jun  2 23:30:28 2006
@@ -26,6 +26,8 @@
 import javax.xml.namespace.QName;
 
 /**
+ * A service for caching WSDLs
+ *
  * @version $Rev$ $Date$
  */
 public interface WSDLDefinitionRegistry {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/RuntimeWire.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/RuntimeWire.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/RuntimeWire.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/RuntimeWire.java Fri Jun  2 23:30:28 2006
@@ -3,6 +3,8 @@
 import org.apache.tuscany.spi.component.TargetException;
 
 /**
+ * The base wire type used to connect references and services
+ *
  * @version $$Rev$$ $$Date$$
  */
 public interface RuntimeWire<T> {

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/TargetInvoker.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/TargetInvoker.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/TargetInvoker.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/TargetInvoker.java Fri Jun  2 23:30:28 2006
@@ -20,17 +20,25 @@
 
 /**
  * Implementations are responsible for resolving a target and performing the actual invocation on it, for
- * example, a service component implementation instance or an external service client.
+ * example, a component implementation instance or a service client.
  *
  * @version $Rev: 395162 $ $Date: 2006-04-19 01:07:36 -0700 (Wed, 19 Apr 2006) $
  */
 public interface TargetInvoker extends Cloneable {
 
     /**
-     * Responsible for invoking an operation on a target with the given message
+     * Invokes an operation on a target with the given payload. Used in optmized cases where messagesdo not
+     * need to be flowed such as in non-proxied wires.
+     *
+     * @throws InvocationTargetException
      */
     public Object invokeTarget(Object payload) throws InvocationTargetException;
 
+    /**
+     * Invokes an operation on a target with the given message
+     *
+     * @throws InvocationRuntimeException
+     */
     public Message invoke(Message msg) throws InvocationRuntimeException;
 
 

Modified: incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java?rev=411390&r1=411389&r2=411390&view=diff
==============================================================================
--- incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java (original)
+++ incubator/tuscany/sandbox/jboynes/sca/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java Fri Jun  2 23:30:28 2006
@@ -1,6 +1,7 @@
 package org.apache.tuscany.spi.wire;
 
 /**
+ * Creates proxies that implement Java interfaces and invocation handlers for fronting wires
  * @version $$Rev$$ $$Date$$
  */
 



---------------------------------------------------------------------
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