summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-04-22 15:04:12 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-04-22 15:04:12 +0000
commit082884141610be91c2c615f9effb3da875c2d6c2 (patch)
tree919c47f68c88542f450eb9c17604acaceb0378ed
parentce4cb6e7767059f24528ef8402a305adf3975fec (diff)
add the missing code to write out the bindings of an SCA configuration
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@936887 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/SCAConfigProcessor.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/SCAConfigProcessor.java b/sca-java-2.x/trunk/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/SCAConfigProcessor.java
index a900f1fa93..86ff968d0e 100644
--- a/sca-java-2.x/trunk/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/SCAConfigProcessor.java
+++ b/sca-java-2.x/trunk/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/SCAConfigProcessor.java
@@ -128,6 +128,10 @@ public class SCAConfigProcessor extends BaseStAXArtifactProcessor implements StA
SCA_CONFIG_QNAME.getNamespaceURI(),
SCA_CONFIG_QNAME.getLocalPart(),
new XAttr("targetNamespace", definitions.getTargetNamespace()));
+
+ for (Binding binding : definitions.getBindings()) {
+ processor.write(binding, writer, context);
+ }
for (Intent policyIntent : definitions.getIntents()) {
processor.write(policyIntent, writer, context);