diff options
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/samples/domain-management/src/main/java/manager/DistributeComponents.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/samples/domain-management/src/main/java/manager/DistributeComponents.java b/branches/sca-java-1.x/samples/domain-management/src/main/java/manager/DistributeComponents.java index 08ddc8875e..090cd02f43 100644 --- a/branches/sca-java-1.x/samples/domain-management/src/main/java/manager/DistributeComponents.java +++ b/branches/sca-java-1.x/samples/domain-management/src/main/java/manager/DistributeComponents.java @@ -25,8 +25,10 @@ import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URL; +import java.util.HashMap; import java.util.HashSet; import java.util.List; +import java.util.Map; import java.util.Set; import javax.xml.namespace.QName; @@ -168,12 +170,13 @@ public class DistributeComponents { SCABindingFactory scaBindingFactory = modelFactories.getFactory(SCABindingFactory.class); IntentAttachPointTypeFactory attachPointTypeFactory = modelFactories.getFactory(IntentAttachPointTypeFactory.class); InterfaceContractMapper contractMapper = utilities.getUtility(InterfaceContractMapper.class); + Map<Binding, Binding> bindingMap = new HashMap<Binding, Binding>(); domainCompositeBuilder = new CompositeBuilderImpl(assemblyFactory, scaBindingFactory, attachPointTypeFactory, - documentBuilderFactory, transformerFactory, contractMapper, monitor); + documentBuilderFactory, transformerFactory, contractMapper, monitor, bindingMap); // Create a node composite builder nodeCompositeBuilder = new NodeCompositeBuilderImpl(assemblyFactory, scaBindingFactory, - documentBuilderFactory, transformerFactory, contractMapper, null, monitor); + documentBuilderFactory, transformerFactory, contractMapper, null, monitor, bindingMap); } |