org.talend.esb.servicelocator.client
Interface Endpoint

All Known Subinterfaces:
SLEndpoint
All Known Implementing Classes:
CXFEndpointProvider, SimpleEndpoint, SLEndpointProvider

public interface Endpoint

An EndpointProvider provides the necessary information to create an entry in the service locator for an endpoint.


Nested Class Summary
static interface Endpoint.PropertiesTransformer
           
 
Method Summary
 void addEndpointReference(Node parent)
          Deprecated. 
 String getAddress()
          Return the address of the endpoint.
 BindingType getBinding()
           
 SLProperties getProperties()
           
 QName getServiceName()
          Return the name of the service the endpoint belongs to
 TransportType getTransport()
           
 void writeEndpointReferenceTo(Result result, Endpoint.PropertiesTransformer transformer)
           
 

Method Detail

getServiceName

QName getServiceName()
Return the name of the service the endpoint belongs to

Returns:
name of the service, must not be null.

getAddress

String getAddress()
Return the address of the endpoint.

Returns:
url of the endpoint, must not be null.

getBinding

BindingType getBinding()

getTransport

TransportType getTransport()

getProperties

SLProperties getProperties()

writeEndpointReferenceTo

void writeEndpointReferenceTo(Result result,
                              Endpoint.PropertiesTransformer transformer)
                              throws ServiceLocatorException
Throws:
ServiceLocatorException

addEndpointReference

@Deprecated
void addEndpointReference(Node parent)
                          throws ServiceLocatorException
Deprecated. 

Add a WS-Addressing endpoint reference to the given XML tree.

Parameters:
parent - the node where to add the endpoint reference, is not null and either an Element or a Document.
Throws:
ServiceLocatorException


Copyright © 2011–2014 Talend Inc.. All rights reserved.