org.apache.axis2.jaxws.addressing.factory.impl
Class JAXWSEndpointReferenceFactoryImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.addressing.factory.impl.JAXWSEndpointReferenceFactoryImpl
All Implemented Interfaces:
JAXWSEndpointReferenceFactory

public class JAXWSEndpointReferenceFactoryImpl
extends java.lang.Object
implements JAXWSEndpointReferenceFactory

This class is used to generate instances of the following subclasses of EndpointReference.

See Also:
W3CEndpointReference, SubmissionEndpointReference

Constructor Summary
JAXWSEndpointReferenceFactoryImpl()
          Constructor
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXWSEndpointReferenceFactoryImpl

public JAXWSEndpointReferenceFactoryImpl()
Constructor

Method Detail

createEndpointReference

public EndpointReference createEndpointReference(javax.xml.transform.Source eprInfoset)
                                          throws javax.xml.bind.JAXBException
Description copied from interface: JAXWSEndpointReferenceFactory
Create an instance of a supported subclass of EndpointReference.

Specified by:
createEndpointReference in interface JAXWSEndpointReferenceFactory
Parameters:
eprInfoset - the endpoint reference
Returns:
an instance of EndpointReference.
Throws:
javax.xml.bind.JAXBException

getAddressingNamespace

public <T extends EndpointReference> java.lang.String getAddressingNamespace(java.lang.Class<T> clazz)
Description copied from interface: JAXWSEndpointReferenceFactory
Map the specified class to a supported WS-Addressing namespace.

Specified by:
getAddressingNamespace in interface JAXWSEndpointReferenceFactory
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.