org.talend.esb.servicelocator.client
Class SimpleEndpoint
java.lang.Object
org.talend.esb.servicelocator.client.SimpleEndpoint
- All Implemented Interfaces:
- Endpoint
- Direct Known Subclasses:
- SLEndpointProvider
public class SimpleEndpoint
- extends Object
- implements Endpoint
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleEndpoint
public SimpleEndpoint(QName serviceName,
String endpoint)
SimpleEndpoint
public SimpleEndpoint(QName serviceName,
String endpoint,
SLProperties properties)
SimpleEndpoint
public SimpleEndpoint(QName serviceName,
String endpoint,
BindingType bindingType,
TransportType transportType,
SLProperties properties)
getBinding
public BindingType getBinding()
- Specified by:
getBinding in interface Endpoint
getTransport
public TransportType getTransport()
- Specified by:
getTransport in interface Endpoint
getAddress
public String getAddress()
- Description copied from interface:
Endpoint
- Return the address of the endpoint.
- Specified by:
getAddress in interface Endpoint
- Returns:
- url of the endpoint, must not be
null.
getProperties
public SLProperties getProperties()
- Specified by:
getProperties in interface Endpoint
forService
public QName forService()
getServiceName
public QName getServiceName()
- Description copied from interface:
Endpoint
- Return the name of the service the endpoint belongs to
- Specified by:
getServiceName in interface Endpoint
- Returns:
- name of the service, must not be
null.
writeEndpointReferenceTo
public void writeEndpointReferenceTo(Result result,
Endpoint.PropertiesTransformer transformer)
throws ServiceLocatorException
- Specified by:
writeEndpointReferenceTo in interface Endpoint
- Throws:
ServiceLocatorException
addEndpointReference
public void addEndpointReference(Node parent)
throws ServiceLocatorException
- Description copied from interface:
Endpoint
- Add a WS-Addressing endpoint reference to the given XML tree.
- Specified by:
addEndpointReference in interface Endpoint
- Parameters:
parent - the node where to add the endpoint reference, is not null and either an
Element or a Document.
- Throws:
ServiceLocatorException
init
protected void init(String endpoint,
SLProperties properties)
Copyright © 2011 Talend Inc.. All Rights Reserved.