org.apache.tuscany.sca.assembly
Interface Wire

All Superinterfaces:
Base, IntentAttachPoint, PolicySetAttachPoint

public interface Wire
extends Base, IntentAttachPoint, PolicySetAttachPoint

Represents a wire.

Version:
$Rev: 537391 $ $Date: 2007-05-12 12:42:45 +0100 (Sat, 12 May 2007) $

Method Summary
 java.lang.Object clone()
          Returns a clone of the wire.
 ComponentReference getSource()
          Returns the source of the wire.
 ComponentService getTarget()
          Returns the target of the wire.
 void setSource(ComponentReference source)
          Sets the source of the wire.
 void setTarget(ComponentService target)
          Sets the target of the wire.
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
getExtensions, isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getPolicySets
 

Method Detail

getSource

ComponentReference getSource()
Returns the source of the wire.

Returns:
the source of the wire

setSource

void setSource(ComponentReference source)
Sets the source of the wire.

Parameters:
source - the source of the wire

getTarget

ComponentService getTarget()
Returns the target of the wire.

Returns:
the target of the wire

setTarget

void setTarget(ComponentService target)
Sets the target of the wire.

Parameters:
target - the target of the wire

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns a clone of the wire.

Returns:
a clone of the wire
Throws:
java.lang.CloneNotSupportedException