org.talend.esb.servicelocator.cxf.internal
Class CXFEndpointProvider
java.lang.Object
org.talend.esb.servicelocator.cxf.internal.CXFEndpointProvider
- All Implemented Interfaces:
- EndpointProvider
public class CXFEndpointProvider
- extends Object
- implements EndpointProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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:
EndpointProvider
- Return the name of the service the endpoint belongs to
- Specified by:
getServiceName in interface EndpointProvider
- Returns:
- name of the service, must not be
null.
getAddress
public String getAddress()
- Description copied from interface:
EndpointProvider
- Return the address of the endpoint.
- Specified by:
getAddress in interface EndpointProvider
- Returns:
- url of the endpoint, must not be
null.
getBinding
public BindingType getBinding()
- Specified by:
getBinding in interface EndpointProvider
getTransport
public TransportType getTransport()
- Specified by:
getTransport in interface EndpointProvider
setLastTimeStartedToCurrent
public void setLastTimeStartedToCurrent()
getLastTimeStarted
public long getLastTimeStarted()
- Specified by:
getLastTimeStarted in interface EndpointProvider
setLastTimeStoppedToCurrent
public void setLastTimeStoppedToCurrent()
setLastTimeStopped
public void setLastTimeStopped(long lastTimeStopped)
getLastTimeStopped
public long getLastTimeStopped()
- Specified by:
getLastTimeStopped in interface EndpointProvider
addEndpointReference
public void addEndpointReference(Node parent)
throws ServiceLocatorException
- Description copied from interface:
EndpointProvider
- Add a WS-Addressing endpoint reference to the given XML tree.
- Specified by:
addEndpointReference in interface EndpointProvider
- 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.