Class JAXWSEndpointReferenceFactoryImpl

java.lang.Object
org.apache.axis2.jaxws.addressing.factory.impl.JAXWSEndpointReferenceFactoryImpl
All Implemented Interfaces:
JAXWSEndpointReferenceFactory

public class JAXWSEndpointReferenceFactoryImpl extends Object implements JAXWSEndpointReferenceFactory
This class is used to generate instances of the following subclasses of EndpointReference.
See Also:
  • Constructor Details

    • JAXWSEndpointReferenceFactoryImpl

      public JAXWSEndpointReferenceFactoryImpl()
      Constructor
  • Method Details

    • createEndpointReference

      public jakarta.xml.ws.EndpointReference createEndpointReference(Source eprInfoset) throws jakarta.xml.bind.JAXBException
      Description copied from interface: JAXWSEndpointReferenceFactory
      Create an instance of a supported subclass of EndpointReference.
      Specified by:
      createEndpointReference in interface JAXWSEndpointReferenceFactory
      Parameters:
      eprInfoset - the endpoint reference
      Returns:
      an instance of EndpointReference.
      Throws:
      jakarta.xml.bind.JAXBException
    • getAddressingNamespace

      public <T extends jakarta.xml.ws.EndpointReference> String getAddressingNamespace(Class<T> clazz)
      Description copied from interface: JAXWSEndpointReferenceFactory
      Map the specified class to a supported WS-Addressing namespace.
      Specified by:
      getAddressingNamespace in interface JAXWSEndpointReferenceFactory
      Type Parameters:
      T - a subclass of EndpointReference.
      Parameters:
      clazz - the class.
      Returns:
      the WS-Addressing namespace that is associated with the class.