org.apache.axis2.jaxws.addressing.factory.impl
Class Axis2EndpointReferenceFactoryImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.addressing.factory.impl.Axis2EndpointReferenceFactoryImpl
All Implemented Interfaces:
Axis2EndpointReferenceFactory

public class Axis2EndpointReferenceFactoryImpl
extends java.lang.Object
implements Axis2EndpointReferenceFactory

This class produces instances of EndpointReference.


Constructor Summary
Axis2EndpointReferenceFactoryImpl()
           
 
Method Summary
 EndpointReference createEndpointReference(QName serviceName, QName endpoint)
          Create an instance of EndpointReference that targets the endpoint identified by the specified WSDL service name and endpoint name.
 EndpointReference createEndpointReference(java.lang.String address)
          Create an instance of EndpointReference with the specified address.
 EndpointReference createEndpointReference(java.lang.String address, QName serviceName, QName portName, java.lang.String wsdlDocumentLocation, java.lang.String addressingNamespace)
          Create an instance of EndpointReference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axis2EndpointReferenceFactoryImpl

public Axis2EndpointReferenceFactoryImpl()
Method Detail

createEndpointReference

public EndpointReference createEndpointReference(java.lang.String address)
Description copied from interface: Axis2EndpointReferenceFactory
Create an instance of EndpointReference with the specified address.

Specified by:
createEndpointReference in interface Axis2EndpointReferenceFactory
Parameters:
address - the address URI to use. It cannot be null.
Returns:
an instance of EndpointReference.

createEndpointReference

public EndpointReference createEndpointReference(QName serviceName,
                                                 QName endpoint)
Description copied from interface: Axis2EndpointReferenceFactory
Create an instance of EndpointReference that targets the endpoint identified by the specified WSDL service name and endpoint name.

Specified by:
createEndpointReference in interface Axis2EndpointReferenceFactory
Parameters:
serviceName - the WSDL service name
endpoint - the WSDL port name
Returns:
an instance of EndpointReference that targets the specified endpoint

createEndpointReference

public EndpointReference createEndpointReference(java.lang.String address,
                                                 QName serviceName,
                                                 QName portName,
                                                 java.lang.String wsdlDocumentLocation,
                                                 java.lang.String addressingNamespace)
Description copied from interface: Axis2EndpointReferenceFactory
Create an instance of EndpointReference. 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:
createEndpointReference in interface Axis2EndpointReferenceFactory
Parameters:
address - the address URI to use, if specified
serviceName - the WSDL service name, if specified
portName - the WSDL port name, if specified
wsdlDocumentLocation - the URI from where the WSDL for the endpoint can be retrieved, if specified.
addressingNamespace - the intended WS-Addressing namespace that the EndpointRefence should comply with.
Returns:
an instance of EndpointReference.


Copyright © 2007 Apache Web Services Project. All Rights Reserved.