tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r1041080 - in /tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl: SampleAsyncProvider.java SampleAsyncResponseInvoker.java
Date Wed, 01 Dec 2010 17:08:08 GMT
Author: slaws
Date: Wed Dec  1 17:08:08 2010
New Revision: 1041080

URL: http://svn.apache.org/viewvc?rev=1041080&view=rev
Log:
Make it clear the this invoker is for handling async responses. 

Added:
    tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncResponseInvoker.java
      - copied, changed from r1040598, tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncInvoker.java
Modified:
    tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProvider.java

Modified: tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProvider.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProvider.java?rev=1041080&r1=1041079&r2=1041080&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProvider.java
(original)
+++ tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProvider.java
Wed Dec  1 17:08:08 2010
@@ -95,7 +95,7 @@ class SampleAsyncProvider implements Imp
         }
     }
     
-    public Invoker createAsyncInvoker(RuntimeComponentService service, Operation operation)
{
-        return new SampleAsyncInvoker(asyncMessageMap, operation, impl.clazz, instance);
+    public Invoker createAsyncResponseInvoker(RuntimeComponentService service, Operation
operation) {
+        return new SampleAsyncResponseInvoker(asyncMessageMap, operation, impl.clazz, instance);
     }
 }

Copied: tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncResponseInvoker.java
(from r1040598, tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncInvoker.java)
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncResponseInvoker.java?p2=tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncResponseInvoker.java&p1=tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncInvoker.java&r1=1040598&r2=1041080&rev=1041080&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncInvoker.java
(original)
+++ tuscany/sca-java-2.x/trunk/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncResponseInvoker.java
Wed Dec  1 17:08:08 2010
@@ -35,13 +35,13 @@ import org.w3c.dom.Element;
  * 
  * @version $Rev$ $Date$
  */
-class SampleAsyncInvoker implements Invoker {
+class SampleAsyncResponseInvoker implements Invoker {
     final String name;
     final Object instance;
     final Operation op;
     Map<String, Object> asyncMessageMap;
 
-    SampleAsyncInvoker(Map<String, Object> asyncMessageMap, final Operation op, final
Class<?> clazz, final Object instance) {
+    SampleAsyncResponseInvoker(Map<String, Object> asyncMessageMap, final Operation
op, final Class<?> clazz, final Object instance) {
         this.asyncMessageMap = asyncMessageMap;  
         this.name = op.getName();
         this.instance = instance;



Mime
View raw message