|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.sib.SIMessageFactory
public abstract class SIMessageFactory
A singleton SIMessageFactory is created at static initialization and is subsequently used for the creation of all SIMessages.
Constructor Summary | |
---|---|
SIMessageFactory()
|
Method Summary | |
---|---|
abstract SIMessage |
createSIMessage(commonj.sdo.DataGraph dataGraph,
java.lang.String format)
Create a new SIMessage whose content is represented by the given SDO DataGraph. |
static SIMessageFactory |
getInstance()
Get the singleton SIMessageFactory which is to be used for creating SIMessage instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SIMessageFactory()
Method Detail |
---|
public static SIMessageFactory getInstance()
public abstract SIMessage createSIMessage(commonj.sdo.DataGraph dataGraph, java.lang.String format) throws SIMessageDomainNotSupportedException, SIDataGraphSchemaNotFoundException, SIDataGraphFormatMismatchException, SIMessageException
dataGraph
- The SDO DataGraph which represents the message content.
Must be specified as null if the format parameter is
SIApiConstants.JMS_FORMATformat
- The message format describing the DataGraph model.
java.lang.NullPointerException
- is thrown if either the dataGraph or format
parameter is null. Note that the dataGraph is
permitted to be null if the format parameter is
SIApiConstants.JMS_FORMAT.
SIMessageDomainNotSupportedException
- is thrown if the message domain
indicated by the format is not supported.
SIDataGraphSchemaNotFoundException
- may be thrown if a schema indicated
by the given format is not available.
SIDataGraphFormatMismatchException
- may be thrown if the given format
is not compatible with the given DataGraph.
SIMessageException
- is thrown if the SIMessage could not be created
for any other reason. The linked Exception(s)
indicate the underlying problem.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |