Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.builder
Interface Builder

All Known Subinterfaces:
BuilderRegistry

public interface Builder

Implementations build SCAObject types from model objects.

Version:
$Rev: 441893 $ $Date: 2006-09-09 20:41:09 -0700 (Sat, 09 Sep 2006) $

Method Summary
 SCAObject build(CompositeComponent parent, BindlessServiceDefinition serviceDefinition, DeploymentContext deploymentContext)
          TODO: Make sure that this method belongs here Allow a builder registry to provide building of bindless services via appropriate registered builder
<B extends Binding>
SCAObject
build(CompositeComponent parent, BoundReferenceDefinition<B> boundReferenceDefinition, DeploymentContext deploymentContext)
          TODO: JavaDoc this when we know if we will still register References as contexts
<B extends Binding>
SCAObject
build(CompositeComponent parent, BoundServiceDefinition<B> boundServiceDefinition, DeploymentContext deploymentContext)
          TODO: JavaDoc this when we know if we will still register Services as contexts
<I extends Implementation<?>>
Component
build(CompositeComponent parent, ComponentDefinition<I> componentDefinition, DeploymentContext deploymentContext)
          Builds a Component context from a ComponentDefinition
 SCAObject build(CompositeComponent parent, ReferenceDefinition referenceDefinition, DeploymentContext deploymentContext)
          TODO: Make sure that this method belongs here Allow a builder registry to provide building of targetless references via appropriate registered builder
 

Method Detail

build

<I extends Implementation<?>> Component build(CompositeComponent parent,
                                              ComponentDefinition<I> componentDefinition,
                                              DeploymentContext deploymentContext)
Builds a Component context from a ComponentDefinition

Parameters:
parent - the composite that will be the parent of the newly built component
componentDefinition - the component definition as parsed from an SCA assembly
deploymentContext - the current deployment context
Returns:
a newly created component

build

<B extends Binding> SCAObject build(CompositeComponent parent,
                                    BoundServiceDefinition<B> boundServiceDefinition,
                                    DeploymentContext deploymentContext)
TODO: JavaDoc this when we know if we will still register Services as contexts


build

<B extends Binding> SCAObject build(CompositeComponent parent,
                                    BoundReferenceDefinition<B> boundReferenceDefinition,
                                    DeploymentContext deploymentContext)
TODO: JavaDoc this when we know if we will still register References as contexts


build

SCAObject build(CompositeComponent parent,
                BindlessServiceDefinition serviceDefinition,
                DeploymentContext deploymentContext)
TODO: Make sure that this method belongs here Allow a builder registry to provide building of bindless services via appropriate registered builder


build

SCAObject build(CompositeComponent parent,
                ReferenceDefinition referenceDefinition,
                DeploymentContext deploymentContext)
TODO: Make sure that this method belongs here Allow a builder registry to provide building of targetless references via appropriate registered builder


Apache Tuscany SCA Kernel Sub-Project

-