org.apache.axis2.jaxws.addressing.factory
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
 EndpointReference createEndpointReference(javax.xml.transform.Source eprInfoset)
          Create an instance of a supported subclass of EndpointReference.
<T extends EndpointReference>
java.lang.String
getAddressingNamespace(java.lang.Class<T> clazz)
          Map the specified class to a supported WS-Addressing namespace.
 

Method Detail

createEndpointReference

EndpointReference createEndpointReference(javax.xml.transform.Source eprInfoset)
                                          throws javax.xml.bind.JAXBException
Create an instance of a supported subclass of EndpointReference.

Parameters:
eprInfoset - the endpoint reference
Returns:
an instance of EndpointReference.
Throws:
javax.xml.bind.JAXBException

getAddressingNamespace

<T extends EndpointReference> java.lang.String getAddressingNamespace(java.lang.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.


Copyright © 2007 Apache Web Services Project. All Rights Reserved.