org.apache.tuscany.sca.runtime
Interface EndpointReference


public interface EndpointReference

The endpoint reference for a component service or reference

Version:
$Rev: 539359 $ $Date: 2007-05-18 11:06:21 +0100 (Fri, 18 May 2007) $

Method Summary
 Binding getBinding()
          Get the binding for the endpoint
 RuntimeComponent getComponent()
          Get the component for the endpoint
 Contract getContract()
          Get the component service or reference for the endpoint
 InterfaceContract getInterfaceContract()
          Get the interface contract for the endpoint
 java.lang.String getURI()
          Get the URI for this endpoint
 

Method Detail

getComponent

RuntimeComponent getComponent()
Get the component for the endpoint

Returns:
The component, null of the EPR is for a non-SCA service

getContract

Contract getContract()
Get the component service or reference for the endpoint

Returns:
The component service or reference, null if the EPR is for a non-SCA service

getBinding

Binding getBinding()
Get the binding for the endpoint

Returns:
The binding

getInterfaceContract

InterfaceContract getInterfaceContract()
Get the interface contract for the endpoint

Returns:
The interface contract

getURI

java.lang.String getURI()
Get the URI for this endpoint

Returns:
The URI of the endpoint