diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-09 21:55:41 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-09 21:55:41 +0000 |
commit | fd1ca16b84cc7b14aba0bdc492051e092d7384f8 (patch) | |
tree | e87a6b22091ea583cef6a4a240f10ecf87d1e857 /sca-java-2.x/trunk/modules/node-api/src/main/java | |
parent | b14097880808ae312c315bb036edf945aa90b533 (diff) |
Remove getDomainName
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@908247 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-api/src/main/java')
2 files changed, 0 insertions, 16 deletions
diff --git a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java index f7021338ce..bebd9cc343 100644 --- a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java +++ b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java @@ -42,12 +42,6 @@ public interface NodeConfiguration { String getDomainURI(); /** - * Get the name of the SCA domain - * @return The name of the SCA domain - */ - String getDomainName(); - - /** * Set the URI of the SCA domain * @param domainURI The URI of the SCA domain */ diff --git a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration/impl/NodeConfigurationImpl.java b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration/impl/NodeConfigurationImpl.java index 3d5cb1a94c..b4ec05cae5 100644 --- a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration/impl/NodeConfigurationImpl.java +++ b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration/impl/NodeConfigurationImpl.java @@ -56,16 +56,6 @@ public class NodeConfigurationImpl implements NodeConfiguration { return domainURI; } - public String getDomainName() { - if (domainURI != null) { - URI uri = URI.create(domainURI); - if (uri.getHost() != null) { - return uri.getHost(); - } - } - return domainURI; - } - public NodeConfiguration setDomainURI(String domainURI) { this.domainURI = domainURI; return this; |