Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface Wire

All Superinterfaces:
AssemblyObject, Extensible
All Known Implementing Classes:
WireImpl

public interface Wire
extends Extensible

A connection between a requestor (source) and a provider (target).


Method Summary
 ServiceURI getSource()
          Returns the URI for the source of the request.
 ServiceURI getTarget()
          Returns the URI for the target of the request.
 void setSource(ServiceURI uri)
          Sets the URI for the source of the request.
 void setTarget(ServiceURI uri)
          Sets the URI for the target of the request.
 
Methods inherited from interface org.apache.tuscany.model.assembly.Extensible
getExtensibilityAttributes, getExtensibilityElements
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject
accept, freeze, initialize
 

Method Detail

getSource

ServiceURI getSource()
Returns the URI for the source of the request.

Returns:
the URI for the source of the request

setSource

void setSource(ServiceURI uri)
Sets the URI for the source of the request.

Parameters:
uri - the URI for the source of the request

getTarget

ServiceURI getTarget()
Returns the URI for the target of the request.

Returns:
the URI for the target of the request

setTarget

void setTarget(ServiceURI uri)
Sets the URI for the target of the request.

Parameters:
uri - the URI for the target of the request

Tuscany Assembly Model

-