org.talend.esb.servicelocator.client
Interface EndpointProvider

All Known Implementing Classes:
CXFEndpointProvider

public interface EndpointProvider

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


Method Summary
 void addEndpointReference(Node parent)
          Add a WS-Addressing endpoint reference to the given XML tree.
 String getAddress()
          Return the address of the endpoint.
 BindingType getBinding()
           
 long getLastTimeStarted()
           
 long getLastTimeStopped()
           
 QName getServiceName()
          Return the name of the service the endpoint belongs to
 TransportType getTransport()
           
 

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()

getLastTimeStarted

long getLastTimeStarted()

getLastTimeStopped

long getLastTimeStopped()

addEndpointReference

void addEndpointReference(Node parent)
                          throws ServiceLocatorException
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 Talend Inc.. All Rights Reserved.