IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.wsaddressing
Class WSAddressingFactory

java.lang.Object
  extended by com.ibm.wsspi.wsaddressing.WSAddressingFactory

public abstract class WSAddressingFactory
extends java.lang.Object

This class is a factory used for creating instances of objects representing the complex types found in the WS-Addressing specification.


Constructor Summary
protected WSAddressingFactory()
           
 
Method Summary
static AttributedQName createAttributedQName(javax.xml.namespace.QName qName)
          The createAttributedQName method creates an AttributedQName based on a QName.
static AttributedURI createAttributedURI(java.net.URI address)
          The createAttributedURI method creates an AttributedURI based on a URI.
protected abstract  AttributedQName createConcreteAttributedQName(javax.xml.namespace.QName qName)
           
protected abstract  AttributedURI createConcreteAttributedURI(java.net.URI address)
           
protected abstract  AttributedURI createConcreteMessageID()
           
protected abstract  Metadata createConcreteMetadata()
           
protected abstract  Relationship createConcreteRelationship(java.net.URI relation)
           
protected abstract  ServiceName createConcreteServiceName(javax.xml.namespace.QName serviceQName)
           
protected abstract  com.ibm.ws.wsaddressing.WSDLMAPAccessor createConcreteWSDLMAPAccessor()
           
static Metadata createMetadata()
          Creates an 'empty' Metadata object
static Relationship createRelationship(java.net.URI relation)
          The createRelationship method creates an Relationship based on a URI.
static ServiceName createServiceName(javax.xml.namespace.QName serviceQName)
          Creates a ServiceName object based upon the ServiceQName.
static AttributedURI generateMessageID()
          The generateMessageID method generates a unique messageID of type com.ibm.wsspi.wsaddressing.AttributedURI suitable for setting as the com.ibm.wsspi.WSAConstants.WSADDRESSING_MESSAGE_ID property on a JAX-RPC stub or DII.
protected static com.ibm.ws.wsaddressing.WSAddressingFactory getFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSAddressingFactory

protected WSAddressingFactory()
Method Detail

createAttributedQName

public static AttributedQName createAttributedQName(javax.xml.namespace.QName qName)
The createAttributedQName method creates an AttributedQName based on a QName. The cretaed AttributedQName has no attributes.

Parameters:
qName - as the basis of an AttributedQName
Returns:
AttributedQName with qName available via getQName

generateMessageID

public static AttributedURI generateMessageID()
The generateMessageID method generates a unique messageID of type com.ibm.wsspi.wsaddressing.AttributedURI suitable for setting as the com.ibm.wsspi.WSAConstants.WSADDRESSING_MESSAGE_ID property on a JAX-RPC stub or DII.

Returns:
messageID

createAttributedURI

public static AttributedURI createAttributedURI(java.net.URI address)
The createAttributedURI method creates an AttributedURI based on a URI. The created AttributedURI has no attributes.

Parameters:
address - as the basis of an AttributedURI
Returns:
AttributedURI with address available via getURI

createRelationship

public static Relationship createRelationship(java.net.URI relation)
The createRelationship method creates an Relationship based on a URI. The URI value EITHER uniquely identifies the related message, corresponding to the related messages [message id] property OR be the well known URI visible in String form as the constant: Relationship.UNSPECIFIED_MESSAGE The Relationship type is not set.

Parameters:
relation - as the basis of a Relationsip
Returns:
Relationship with relation available via getURI

createMetadata

public static Metadata createMetadata()
Creates an 'empty' Metadata object

Returns:
a Metadata object with null values for InterfaceName and ServiceName.

createServiceName

public static ServiceName createServiceName(javax.xml.namespace.QName serviceQName)
Creates a ServiceName object based upon the ServiceQName.

Parameters:
serviceQName - is a QName parameter that contains basic service name information (NAMESPACE, VALUE)
Returns:
a ServiceName object with the given QName and a null EndpointName

getFactory

protected static com.ibm.ws.wsaddressing.WSAddressingFactory getFactory()

createConcreteAttributedQName

protected abstract AttributedQName createConcreteAttributedQName(javax.xml.namespace.QName qName)

createConcreteAttributedURI

protected abstract AttributedURI createConcreteAttributedURI(java.net.URI address)

createConcreteRelationship

protected abstract Relationship createConcreteRelationship(java.net.URI relation)

createConcreteServiceName

protected abstract ServiceName createConcreteServiceName(javax.xml.namespace.QName serviceQName)

createConcreteMetadata

protected abstract Metadata createConcreteMetadata()

createConcreteMessageID

protected abstract AttributedURI createConcreteMessageID()

createConcreteWSDLMAPAccessor

protected abstract com.ibm.ws.wsaddressing.WSDLMAPAccessor createConcreteWSDLMAPAccessor()

IBM WebSphere Application ServerTM
Release 7