Interface JAXWSEndpointReferenceFactory

All Known Implementing Classes:
JAXWSEndpointReferenceFactoryImpl

public interface JAXWSEndpointReferenceFactory
This class represents factories that can be used to generate instances of the EndpointReference.
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.xml.ws.EndpointReference
    Create an instance of a supported subclass of EndpointReference.
    <T extends jakarta.xml.ws.EndpointReference>
    String
    Map the specified class to a supported WS-Addressing namespace.
  • Method Details

    • createEndpointReference

      jakarta.xml.ws.EndpointReference createEndpointReference(Source eprInfoset) throws jakarta.xml.bind.JAXBException
      Create an instance of a supported subclass of EndpointReference.
      Parameters:
      eprInfoset - the endpoint reference
      Returns:
      an instance of EndpointReference.
      Throws:
      jakarta.xml.bind.JAXBException
    • getAddressingNamespace

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