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 TypeMethodDescriptionjakarta.xml.ws.EndpointReferencecreateEndpointReference(Source eprInfoset) Create an instance of a supported subclass ofEndpointReference.<T extends jakarta.xml.ws.EndpointReference>
StringgetAddressingNamespace(Class<T> clazz) 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 ofEndpointReference.- Parameters:
eprInfoset- the endpoint reference- Returns:
- an instance of
EndpointReference. - Throws:
jakarta.xml.bind.JAXBException
-
getAddressingNamespace
Map the specified class to a supported WS-Addressing namespace.- Type Parameters:
T- a subclass ofEndpointReference.- Parameters:
clazz- the class.- Returns:
- the WS-Addressing namespace that is associated with the class.
-