tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r502656 - in /incubator/tuscany/java/spec/sca-api-r1.0/src: main/java/org/osoa/sca/ComponentContext.java test/java/sample/client/BasicClient.java
Date Fri, 02 Feb 2007 16:59:17 GMT
Author: jboynes
Date: Fri Feb  2 08:59:17 2007
New Revision: 502656

URL: http://svn.apache.org/viewvc?view=rev&rev=502656
Log:
revert rename of getServiceReference

Modified:
    incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/ComponentContext.java
    incubator/tuscany/java/spec/sca-api-r1.0/src/test/java/sample/client/BasicClient.java

Modified: incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/ComponentContext.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/ComponentContext.java?view=diff&rev=502656&r1=502655&r2=502656
==============================================================================
--- incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/ComponentContext.java
(original)
+++ incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/ComponentContext.java
Fri Feb  2 08:59:17 2007
@@ -37,7 +37,7 @@
      * @param referenceName the name of the reference
      * @return a ServiceReference for the designated reference
      */
-    <B> ServiceReference<B> getCallableReference(Class<B> businessInterface,
String referenceName);
+    <B> ServiceReference<B> getServiceReference(Class<B> businessInterface,
String referenceName);
 
     /**
      * Returns the value of an SCA property defined by this component.

Modified: incubator/tuscany/java/spec/sca-api-r1.0/src/test/java/sample/client/BasicClient.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/sca-api-r1.0/src/test/java/sample/client/BasicClient.java?view=diff&rev=502656&r1=502655&r2=502656
==============================================================================
--- incubator/tuscany/java/spec/sca-api-r1.0/src/test/java/sample/client/BasicClient.java
(original)
+++ incubator/tuscany/java/spec/sca-api-r1.0/src/test/java/sample/client/BasicClient.java
Fri Feb  2 08:59:17 2007
@@ -18,7 +18,7 @@
     }
 
     public void useComponentViaReference() {
-        ServiceReference<HelloService> ref = context.getCallableReference(HelloService.class,
"helloService");
+        ServiceReference<HelloService> ref = context.getServiceReference(HelloService.class,
"helloService");
         HelloService helloService = ref.getService();
         helloService.hello("World");
 
@@ -31,7 +31,7 @@
     }
 
     public void useReferenceViaReference() {
-        ServiceReference<HelloService> ref = context.getCallableReference(HelloService.class,
"helloReference");
+        ServiceReference<HelloService> ref = context.getServiceReference(HelloService.class,
"helloReference");
         HelloService helloService = ref.getService();
         helloService.hello("World");
 



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