org.apache.tuscany.sca.assembly
Interface Binding

All Superinterfaces:
Base, java.lang.Cloneable
All Known Subinterfaces:
AtomBinding, AtomBinding, BindingRRB, CorbaBinding, DistributedSCABinding, EJBBinding, GdataBinding, HTTPBinding, JSONRPCBinding, NotificationBinding, OptimizableBinding, RMIBinding, RSSBinding, RSSBinding, SCABinding, WebServiceBinding
All Known Implementing Classes:
AbstractBinding, CorbaBindingImpl, DistributedSCABindingImpl, EJBBindingImpl, JMSBinding, JSONRPCBindingImpl, NotificationBindingImpl, PojoBinding, RMIBindingImpl, SCABindingImpl

public interface Binding
extends Base, java.lang.Cloneable

Represents a binding.


Method Summary
 java.lang.Object clone()
          Clone the binding
 java.lang.String getName()
          Returns the binding name.
 java.lang.String getURI()
          Returns the binding URI.
 void setName(java.lang.String name)
          Sets the binding name.
 void setURI(java.lang.String uri)
          Sets the binding URI.
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 

Method Detail

getURI

java.lang.String getURI()
Returns the binding URI.

Returns:
the binding URI

setURI

void setURI(java.lang.String uri)
Sets the binding URI.

Parameters:
uri - the binding URI

getName

java.lang.String getName()
Returns the binding name.

Returns:
the binding name

setName

void setName(java.lang.String name)
Sets the binding name.

Parameters:
name - the binding name

clone

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

Returns:
Throws:
java.lang.CloneNotSupportedException