org.apache.tuscany.sca.assembly
Interface OptimizableBinding

All Superinterfaces:
Base, Binding, java.lang.Cloneable
All Known Implementing Classes:
SCABindingImpl

public interface OptimizableBinding
extends Binding, java.lang.Cloneable

Represent a reference binding that supports optimized SCA local wiring between component references and services


Method Summary
 java.lang.Object clone()
          Clone the binding
 Binding getTargetBinding()
           
 Component getTargetComponent()
           
 ComponentService getTargetComponentService()
           
 void setTargetBinding(Binding binding)
           
 void setTargetComponent(Component component)
           
 void setTargetComponentService(ComponentService service)
           
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Binding
getName, getURI, setName, setURI
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 

Method Detail

setTargetComponent

void setTargetComponent(Component component)
Parameters:
component -

setTargetComponentService

void setTargetComponentService(ComponentService service)
Parameters:
service -

setTargetBinding

void setTargetBinding(Binding binding)
Parameters:
binding -

getTargetBinding

Binding getTargetBinding()
Returns:

getTargetComponent

Component getTargetComponent()
Returns:

getTargetComponentService

ComponentService getTargetComponentService()
Returns:

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone the binding

Specified by:
clone in interface Binding
Returns:
Throws:
java.lang.CloneNotSupportedException