org.apache.tuscany.sca.assembly
Interface Wire

All Superinterfaces:
Base, java.lang.Cloneable, Extensible, IntentAttachPoint, PolicySetAttachPoint
All Known Implementing Classes:
WireImpl

public interface Wire
extends Base, Extensible, IntentAttachPoint, PolicySetAttachPoint, java.lang.Cloneable

Represents a wire.


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
isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getApplicablePolicySets, getPolicySets
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents, getType, setType
 

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