summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/domain-node/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-09 22:36:45 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-09 22:36:45 +0000
commit43dc46e2b6ce1636ac357d5e6c9fc3f0f96fb2e9 (patch)
treef282a1d9f6b649467700486db76297c53310470a /sca-java-2.x/trunk/modules/domain-node/src/main
parent9d71282b5572c66bf7fba30191db29e70380e728 (diff)
Correct name typo and set attributes on the domain composite
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1101248 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-node/src/main')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
index 38d06b6f59..c49f2f68fd 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
@@ -218,7 +218,9 @@ public class NodeImpl implements Node {
FactoryExtensionPoint factories = extensionPointRegistry.getExtensionPoint(FactoryExtensionPoint.class);
AssemblyFactory assemblyFactory = factories.getFactory(AssemblyFactory.class);
Composite domainComposite = assemblyFactory.createComposite();
- domainComposite.setName(new QName(Base.SCA11_TUSCANY_NS, "domainCompoiste"));
+ domainComposite.setName(new QName(Base.SCA11_TUSCANY_NS, "domainComposite"));
+ domainComposite.setAutowire(false);
+ domainComposite.setLocal(false);
List<Composite> domainIncludes = domainComposite.getIncludes();
for (Composite composite : endpointRegistry.getRunningComposites()) {
domainIncludes.add(composite);