diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-22 08:19:44 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-22 08:19:44 +0000 |
commit | 4cc4831d56a544c2539a9bfb28db8b01e3a14d75 (patch) | |
tree | e6fbd631a98271fd62e18c07ad8733a156d7fc6b /java/sca/modules/assembly | |
parent | e1fcbc51ba8cf42d6064200a6a9dd4b3f8a3e619 (diff) |
Add in the binding specific builders steps.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/assembly')
-rw-r--r-- | java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ModelBuilderImpl.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ModelBuilderImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ModelBuilderImpl.java index 7896568eee..7feae14ed4 100644 --- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ModelBuilderImpl.java +++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ModelBuilderImpl.java @@ -38,7 +38,10 @@ public class ModelBuilderImpl implements CompositeBuilder, DeployedCompositeBuil private CompositeBuilder compositeCloneBuilder; private CompositeComponentTypeBuilderImpl compositeComponentTypeBuilder; private ComponentBuilderImpl componentBuilder; + private BindingURIBuilderImpl bindingURIBuilder; + private ComponentServiceBindingBuilderImpl componentServiceBindingBuilder; + private ComponentReferenceBindingBuilderImpl componentReferenceBindingBuilder; private EndpointBuilderImpl endpointBuilder; private EndpointReferenceBuilderImpl endpointReferenceBuilder; private CompositePolicyBuilderImpl compositePolicyBuilder; @@ -60,6 +63,8 @@ public class ModelBuilderImpl implements CompositeBuilder, DeployedCompositeBuil componentBuilder.setComponentTypeBuilder(compositeComponentTypeBuilder); bindingURIBuilder = new BindingURIBuilderImpl(registry); + componentServiceBindingBuilder = new ComponentServiceBindingBuilderImpl(registry); + componentReferenceBindingBuilder = new ComponentReferenceBindingBuilderImpl(registry); endpointBuilder = new EndpointBuilderImpl(registry); endpointReferenceBuilder = new EndpointReferenceBuilderImpl(registry); compositePolicyBuilder = new CompositePolicyBuilderImpl(registry); @@ -94,21 +99,23 @@ public class ModelBuilderImpl implements CompositeBuilder, DeployedCompositeBuil // for the top level implementation (composite). This has the effect of // recursively calculating component types and configuring the // components that depend on them - compositeComponentTypeBuilder.createComponentType(composite); - + compositeComponentTypeBuilder.createComponentType(composite); // create the runtime model by updating the static model we have just // created. This involves things like creating // component URIs // binding URIs + // binding specific build processing // callback references - currently done in static pass // callback services - currently done in static pass // Endpoints // Endoint References // Policies // TODO - called here at the moment but we could have a separate build phase - // to call these. Also we could re-org the builders themselves + // to call these. Also we need to re-org these builders bindingURIBuilder.configureBindingURIsAndNames(composite, definitions, monitor); + componentServiceBindingBuilder.build(composite, definitions, monitor); + componentReferenceBindingBuilder.build(composite, definitions, monitor); endpointBuilder.build(composite, definitions, monitor); endpointReferenceBuilder.build(composite, definitions, monitor); compositePolicyBuilder.build(composite, definitions, monitor); |