Class Axis2EndpointReferenceFactoryImpl
java.lang.Object
org.apache.axis2.jaxws.addressing.factory.impl.Axis2EndpointReferenceFactoryImpl
- All Implemented Interfaces:
Axis2EndpointReferenceFactory
public class Axis2EndpointReferenceFactoryImpl
extends Object
implements Axis2EndpointReferenceFactory
This class produces instances of
EndpointReference.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axis2.addressing.EndpointReferencecreateEndpointReference(String address) Create an instance ofEndpointReferencewith the specified address.org.apache.axis2.addressing.EndpointReferencecreateEndpointReference(String address, QName serviceName, QName portName, String wsdlDocumentLocation, String addressingNamespace) Create an instance ofEndpointReference.org.apache.axis2.addressing.EndpointReferencecreateEndpointReference(QName serviceName, QName endpoint) Create an instance ofEndpointReferencethat targets the endpoint identified by the specified WSDL service name and endpoint name.
-
Constructor Details
-
Axis2EndpointReferenceFactoryImpl
public Axis2EndpointReferenceFactoryImpl()
-
-
Method Details
-
createEndpointReference
Description copied from interface:Axis2EndpointReferenceFactoryCreate an instance ofEndpointReferencewith the specified address.- Specified by:
createEndpointReferencein interfaceAxis2EndpointReferenceFactory- Parameters:
address- the address URI to use. It cannot be null.- Returns:
- an instance of
EndpointReference.
-
createEndpointReference
public org.apache.axis2.addressing.EndpointReference createEndpointReference(QName serviceName, QName endpoint) Description copied from interface:Axis2EndpointReferenceFactoryCreate an instance ofEndpointReferencethat targets the endpoint identified by the specified WSDL service name and endpoint name.- Specified by:
createEndpointReferencein interfaceAxis2EndpointReferenceFactory- Parameters:
serviceName- the WSDL service nameendpoint- the WSDL port name- Returns:
- an instance of
EndpointReferencethat targets the specified endpoint
-
createEndpointReference
public org.apache.axis2.addressing.EndpointReference createEndpointReference(String address, QName serviceName, QName portName, String wsdlDocumentLocation, String addressingNamespace) Description copied from interface:Axis2EndpointReferenceFactoryCreate an instance ofEndpointReference. If the address is specified then it will be used. If the address is null, but the WSDL service name and port name are specified then they will be used to target the specified endpoint. Either the address URI, or the WSDL service name and port name must be specified.- Specified by:
createEndpointReferencein interfaceAxis2EndpointReferenceFactory- Parameters:
address- the address URI to use, if specifiedserviceName- the WSDL service name, if specifiedportName- the WSDL port name, if specifiedwsdlDocumentLocation- the URI from where the WSDL for the endpoint can be retrieved, if specified.addressingNamespace- the intended WS-Addressing namespace that theEndpointRefenceshould comply with.- Returns:
- an instance of
EndpointReference.
-