org.talend.esb.servicelocator.cxf.internal
Class CXFEndpointProvider
java.lang.Object
org.talend.esb.servicelocator.cxf.internal.CXFEndpointProvider
- All Implemented Interfaces:
- Endpoint
public class CXFEndpointProvider
- extends Object
- implements Endpoint
CXFEndpointProvider
public CXFEndpointProvider(QName serviceName,
org.apache.cxf.ws.addressing.EndpointReferenceType endpointReference)
CXFEndpointProvider
public CXFEndpointProvider(QName serviceName,
String bindingId,
String transportId,
org.apache.cxf.ws.addressing.EndpointReferenceType endpointReference)
CXFEndpointProvider
public CXFEndpointProvider(QName serviceName,
String address,
SLProperties properties)
CXFEndpointProvider
public CXFEndpointProvider(org.apache.cxf.endpoint.Server server,
String address,
SLProperties properties)
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.
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.
getBinding
public BindingType getBinding()
- Specified by:
getBinding in interface Endpoint
getTransport
public TransportType getTransport()
- Specified by:
getTransport in interface Endpoint
getProperties
public SLProperties getProperties()
- Specified by:
getProperties in interface Endpoint
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
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011 Talend Inc.. All Rights Reserved.