summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/node-impl
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-09-09 11:04:01 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-09-09 11:04:01 +0000
commit7a37b7c9192277d673aeb6a57968d0d0e4a04a4a (patch)
tree4892e8d3a1750cdf23518b35e5134aca60a02f87 /java/sca/modules/node-impl
parentd59495feac722bcff5d2c48e6c3007d23a6d4d71 (diff)
TUSCANY-2587 - change the name of promoted services so that the component name and service name are easily obtainable. I've opened TUSCANY-2589 to continue to track this issue past this immediate change.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/node-impl')
-rw-r--r--java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
index e35203bc5b..36069bb7ee 100644
--- a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
+++ b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
@@ -731,7 +731,7 @@ public class NodeImpl implements SCANode, SCAClient {
CompositeService compositeService = (CompositeService)componentService.getService();
if (compositeService != null) {
if (serviceName != null) {
- serviceName = "$promoted$." + component.getName() + "." + serviceName;
+ serviceName = "$promoted$" + component.getName() + "$slash$" + serviceName;
}
componentContext =
((RuntimeComponent)compositeService.getPromotedComponent()).getComponentContext();