summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/assembly-xml/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-11-13 12:05:54 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-11-13 12:05:54 +0000
commitbfa6c7106c9feec484eb1f8f242cff035bfc927c (patch)
treeac028fb9debe996d99bd780520ae68a86a04ebed /java/sca/modules/assembly-xml/src/main
parentdb96b0537b375e01efb4022da4f2698c4110fa92 (diff)
Update to support the composite local attribute when writing out composite XML
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@713709 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/assembly-xml/src/main')
-rw-r--r--java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java b/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java
index 5aae007739..285bcc448d 100644
--- a/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java
+++ b/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java
@@ -587,6 +587,7 @@ public class CompositeProcessor extends BaseAssemblyProcessor implements StAXArt
writeConstrainingType(composite),
new XAttr(TARGET_NAMESPACE, composite.getName().getNamespaceURI()),
new XAttr(NAME, composite.getName().getLocalPart()),
+ new XAttr(LOCAL, composite.isLocal() ? Boolean.TRUE : null),
new XAttr(AUTOWIRE, composite.getAutowire()),
policyProcessor.writePolicies(composite));