Interface JAXWSEndpointReferenceFactory
-
- All Known Implementing Classes:
JAXWSEndpointReferenceFactoryImpl
public interface JAXWSEndpointReferenceFactory
This class represents factories that can be used to generate instances of theEndpointReference
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EndpointReference
createEndpointReference(Source eprInfoset)
Create an instance of a supported subclass ofEndpointReference
.<T extends EndpointReference>
StringgetAddressingNamespace(Class<T> clazz)
Map the specified class to a supported WS-Addressing namespace.
-
-
-
Method Detail
-
createEndpointReference
EndpointReference createEndpointReference(Source eprInfoset) throws JAXBException
Create an instance of a supported subclass ofEndpointReference
.- Parameters:
eprInfoset
- the endpoint reference- Returns:
- an instance of
EndpointReference
. - Throws:
JAXBException
-
getAddressingNamespace
<T extends EndpointReference> String getAddressingNamespace(Class<T> clazz)
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.
-
-