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
LOG
public static final Logger LOG
WSA_OBJECT_FACTORY
public static final org.apache.cxf.ws.addressing.ObjectFactory WSA_OBJECT_FACTORY
SL_OBJECT_FACTORY
public static final org.talend.esb.servicelocator.client.internal.endpoint.ObjectFactory SL_OBJECT_FACTORY
SOAP11_BINDING_ID
public static final String SOAP11_BINDING_ID
- See Also:
- Constant Field Values
SOAP12_BINDING_ID
public static final String SOAP12_BINDING_ID
- See Also:
- Constant Field Values
JAXRS_BINDING_ID
public static final String JAXRS_BINDING_ID
- See Also:
- Constant Field Values
CXF_HTTP_TRANSPORT_ID
public static final String CXF_HTTP_TRANSPORT_ID
- See Also:
- Constant Field Values
SOAP_HTTP_TRANSPORT_ID
public static final String SOAP_HTTP_TRANSPORT_ID
- See Also:
- Constant Field Values
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.