Author: slaws
Date: Thu Dec 1 16:39:10 2011
New Revision: 1209143
URL: http://svn.apache.org/viewvc?rev=1209143&view=rev
Log:
TUSCANY-3963 - make the client reference name stand out from the crowd. Thanks
for the patch Jennifer.
Modified:
tuscany/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/RemoteServiceInvocationHandler.java
Modified:
tuscany/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/RemoteServiceInvocationHandler.java
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/RemoteServiceInvocationHandler.java?rev=1209143&r1=1209142&r2=1209143&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/RemoteServiceInvocationHandler.java
(original)
+++
tuscany/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/RemoteServiceInvocationHandler.java
Thu Dec 1 16:39:10 2011
@@ -175,7 +175,7 @@ public class RemoteServiceInvocationHand
Component component = endpoint.getComponent();
ComponentService service = endpoint.getService();
ComponentReference componentReference =
assemblyFactory.createComponentReference();
- componentReference.setName("sca.client." + service.getName());
+ componentReference.setName("$sca.client$." + service.getName());
componentReference.setCallback(service.getCallback());
componentReference.getTargets().add(service);