|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.wsstar.addressing.datatypes.api.refinedabstraction.RefinedWsaFactory
public final class RefinedWsaFactory
Implementation, following the "Singleton" design pattern, of
the WsaFactory factory interface.
NOTE : "RefinedWsaFactory" class is the "refined abstraction"
part of the "Bridge" design pattern.
| 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 |
static WsaFactory |
getInstance()
Get the singleton instance of the class once the model's factory has been initialized. |
static WsaFactory |
getInstance(WsaModelFactory modelFactory)
Initialize model's factory and get the singleton instance of the class |
WsaModelFactory |
getModel()
Get the model's factory implementation used. |
WsaReader |
getWsaReader()
Get a instance of WsaReader class |
WsaWriter |
getWsaWriter()
Get a instance of WsaWriter class |
protected void |
setModel(WsaModelFactory modelFactory)
Set the model's factory implementation to used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static WsaFactory getInstance()
throws WsaException
WsaExceptionpublic static WsaFactory getInstance(WsaModelFactory modelFactory)
modelFactory - then model's factory implementation.
public WsaModelFactory getModel()
protected void setModel(WsaModelFactory modelFactory)
modelFactory - an instance of model's factory implementationpublic EndpointReferenceType createEndpointReferenceType(java.net.URI address)
WsaFactoryEndpointReferenceType object with only
mandatory fields set
createEndpointReferenceType in interface WsaFactoryaddress - of the endpoint to create, as a URI object
EndpointReferenceType object with address setpublic ReferenceParametersType createReferenceParametersType()
WsaFactoryEndpointReferenceType object
createReferenceParametersType in interface WsaFactoryReferenceParametersType objectpublic MetadataType createMetadataType()
WsaFactoryMetadataType object
createMetadataType in interface WsaFactoryMetadataType objectpublic WsaReader getWsaReader()
WsaFactoryWsaReader class
getWsaReader in interface WsaFactoryWsaReader classpublic WsaWriter getWsaWriter()
WsaFactoryWsaWriter class
getWsaWriter in interface WsaFactoryWsaWriter class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||