Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.builder
Interface Connector


public interface Connector

Implementations are responsible for bridging invocation chains as an assembly is converted to runtime artifacts

Version:
$$Rev: 451133 $$ $$Date: 2006-09-28 22:31:27 -0700 (Thu, 28 Sep 2006) $$

Method Summary
 void connect(InboundWire inbound, OutboundWire outbound, boolean optimizable)
          Bridges the invocation chains associated with an inbound and outbound wire.
 void connect(SCAObject source)
          Connects the given source's wires to corresponding wires to a target.
 

Method Detail

connect

void connect(SCAObject source)
Connects the given source's wires to corresponding wires to a target. Wires are connected by bridging invocation chains.

Parameters:
source - the source, i.e. a Service, Component, or Reference

connect

void connect(InboundWire inbound,
             OutboundWire outbound,
             boolean optimizable)
             throws BuilderConfigException
Bridges the invocation chains associated with an inbound and outbound wire.

Parameters:
inbound - the wire to bridge from
outbound - the target wire
optimizable - if the bridge may be optimized
Throws:
BuilderConfigException

Apache Tuscany SCA Kernel Sub-Project

-