diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-30 07:29:32 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-30 07:29:32 +0000 |
commit | bf77db1f96ebc9b0eb625d393f2a2a2bb6903135 (patch) | |
tree | 7fd27d28bea6a002979db82404c32c8109e9aeaf /java | |
parent | b12ce093caad9be735663693db90e2cb5550031f (diff) |
Get the tribes context name set from the domain name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@809258 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java b/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java index 3af55b34eb..9dab6e1e4b 100644 --- a/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java +++ b/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java @@ -100,6 +100,10 @@ public class ReplicatedEndpointRegistry implements EndpointRegistry, LifeCycleLi } private void setConfig(Map<String, String> attributes) { + if (attributes.containsKey("domainName")) { + domainURI = attributes.get("domainName"); + } + String portStr = attributes.get("port"); if (portStr != null) { port = Integer.parseInt(portStr); |