diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-03 13:07:13 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-03 13:07:13 +0000 |
commit | 987617f3decd05f2d3c3009d466ca6884708ab52 (patch) | |
tree | 2d8cbf6525dfd57279bd69fb395227699698f640 /sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java | |
parent | f059b86e0365e9411c76a5e5462890b03497b4a8 (diff) |
Fix typo in method name.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992287 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java index 153a5341cd..c01befef5d 100644 --- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java +++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java @@ -86,9 +86,16 @@ public class NodeFactory { protected NodeFactory(Properties config) { init(config); } + + public Node createNode() { + return createNode(null); + } public Node createNode(String domainURI) { - String domainName = getDomainName(domainURI); + String domainName = "default"; + if (domainURI != null){ + domainName = getDomainName(domainURI); + } EndpointRegistry endpointRegistry = domainRegistryFactory.getEndpointRegistry(domainURI, domainName); return new NodeImpl(domainName, deployer, compositeActivator, endpointRegistry, extensionPointRegistry, null); } |