diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-25 14:29:05 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-25 14:29:05 +0000 |
commit | a0d5ac96505179eee741af4f819761fe28a3868a (patch) | |
tree | b86e29bb65d9d1da3207cd05117e5ad3dc73d76b /sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/domain | |
parent | 8e8afc95b38a5d09926b2be1f0351e0d90f7b4b5 (diff) |
Catch up the tomcat runtime with all the recent domain and node changes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902818 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/domain')
-rw-r--r-- | sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/domain/node/DomainNode.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/domain/node/DomainNode.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/domain/node/DomainNode.java index 8ee7d5bdbf..98f6b5a481 100644 --- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/domain/node/DomainNode.java +++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/domain/node/DomainNode.java @@ -85,14 +85,14 @@ public class DomainNode { if (nodes.containsKey(uri)) {
throw new IllegalArgumentException("contribution already added: " + uri);
}
- NodeConfiguration configuration = NodeFactory.newInstance().createNodeConfiguration();
+ NodeConfiguration configuration = NodeFactory.getInstance().createNodeConfiguration();
if (location != null) {
configuration.addContribution(uri, location);
}
configuration.setDomainRegistryURI(domainRegistryURI);
configuration.setDomainURI(domainName);
configuration.setURI(uri); //???
- Node node = NodeFactory.newInstance().createNode(configuration).start();
+ Node node = NodeFactory.getInstance().createNode(configuration).start();
nodes.put(uri, node);
}
|