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 ofEndpointReference
.- See Also:
W3CEndpointReference
,SubmissionEndpointReference
-
-
Constructor Summary
Constructors Constructor Description JAXWSEndpointReferenceFactoryImpl()
Constructor
-
Method Summary
All Methods Instance Methods Concrete 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
public EndpointReference createEndpointReference(Source eprInfoset) throws JAXBException
Description copied from interface:JAXWSEndpointReferenceFactory
Create an instance of a supported subclass ofEndpointReference
.- Specified by:
createEndpointReference
in interfaceJAXWSEndpointReferenceFactory
- Parameters:
eprInfoset
- the endpoint reference- Returns:
- an instance of
EndpointReference
. - Throws:
JAXBException
-
getAddressingNamespace
public <T extends 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 interfaceJAXWSEndpointReferenceFactory
- Type Parameters:
T
- a subclass ofEndpointReference
.- Parameters:
clazz
- the class.- Returns:
- the WS-Addressing namespace that is associated with the class.
-
-