com.ebmwebsourcing.wsstar.addressing.datatypes.api.abstraction
Interface WsaFactory

All Known Implementing Classes:
RefinedWsaFactory

public interface WsaFactory

Interface of the factory that must provide creation methods of WS-Addressing Types. Mainly expected methods are those which help to build EndpointReferenceType, ReferenceParametersType and MetadataType typed objects. Also provide getters for WsaReader and {WsaWriter} objects. NOTE : the factory is implemented following the "Bridge" design pattern and the "WsaFactory" class represents the "abstraction" part

Author:
Thierry Déjean - EBM Websourcing

Method Summary
 EndpointReferenceType createEndpointReferenceType(java.net.URI address)
          create a minimal EndpointReferenceType object with only mandatory fields set
 MetadataType createMetadataType()
          create a minimal - means empty - MetadataType object
 ReferenceParametersType createReferenceParametersType()
          create a minimal - means empty - EndpointReferenceType object
 WsaReader getWsaReader()
          Get a instance of WsaReader class
 WsaWriter getWsaWriter()
          Get a instance of WsaWriter class
 

Method Detail

createEndpointReferenceType

EndpointReferenceType createEndpointReferenceType(java.net.URI address)
create a minimal EndpointReferenceType object with only mandatory fields set

Parameters:
address - of the endpoint to create, as a URI object
Returns:
an EndpointReferenceType object with address set

createReferenceParametersType

ReferenceParametersType createReferenceParametersType()
create a minimal - means empty - EndpointReferenceType object

Returns:
an empty ReferenceParametersType object

createMetadataType

MetadataType createMetadataType()
create a minimal - means empty - MetadataType object

Returns:
an empty MetadataType object

getWsaReader

WsaReader getWsaReader()
Get a instance of WsaReader class

Returns:
an instance of of WsaReader class

getWsaWriter

WsaWriter getWsaWriter()
Get a instance of WsaWriter class

Returns:
an instance of of WsaWriter class


Copyright © 2010-2011 eBM Websourcing. All Rights Reserved.