Apache Tuscany SCA Core SPI

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
 org.apache.tuscany.sca.assembly.Binding getBinding()
          Get the binding for the endpoint
 RuntimeComponent getComponent()
          Get the component for the endpoint
 org.apache.tuscany.sca.assembly.Contract getContract()
          Get the component service or reference for the endpoint
 org.apache.tuscany.sca.interfacedef.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

org.apache.tuscany.sca.assembly.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

org.apache.tuscany.sca.assembly.Binding getBinding()
Get the binding for the endpoint

Returns:
The binding

getInterfaceContract

org.apache.tuscany.sca.interfacedef.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

Apache Tuscany SCA Core SPI

Apache Tuscany is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache WS PMC.