org.eclipse.persistence.eis.adapters.jms
Class JMSPlatform

java.lang.Object
  extended by org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
      extended by org.eclipse.persistence.eis.EISPlatform
          extended by org.eclipse.persistence.eis.adapters.jms.JMSPlatform
All Implemented Interfaces:
Serializable, Cloneable, org.eclipse.persistence.internal.databaseaccess.Platform

public class JMSPlatform
extends EISPlatform

Platform for Oracle JMS JCA adapter.

Since:
OracleAS TopLink 10g (10.0.3)
Author:
Dave McCann
See Also:
Serialized Form

Field Summary
static String DESTINATION
           
static String DESTINATION_URL
           
static String MODE
           
static String RECEIVE
           
static String REPLY_TO_DESTINATION
           
static String REPLY_TO_DESTINATION_URL
           
static String SELECTOR
           
static String SEND
           
static String SEND_RECEIVE
           
static String TIMEOUT
           
 
Constructor Summary
JMSPlatform()
          Default constructor.
 
Method Summary
 javax.resource.cci.InteractionSpec buildInteractionSpec(EISInteraction interaction)
          Allow the platform to build the interaction spec based on properties defined in the interaction.
 org.eclipse.persistence.internal.sessions.AbstractRecord createDatabaseRowFromDOMRecord(javax.resource.cci.Record record, EISInteraction call, EISAccessor accessor)
          Allow the platform to handle the creation of the Record for the DOM record.
 javax.resource.cci.Record createDOMRecord(String recordName, EISAccessor accessor)
          Allow the platform to handle the creation of the DOM record.
 void setDOMInRecord(Element dom, javax.resource.cci.Record record, EISInteraction call, EISAccessor accessor)
          Stores the XML DOM value into the record.
 
Methods inherited from class org.eclipse.persistence.eis.EISPlatform
appendParameter, buildRow, buildRows, createInputRecord, createOutputRecord, getConversionManager, getRecordConverter, getValueFromRecord, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, requiresAutoCommit, setIsDOMRecordSupported, setIsIndexedRecordSupported, setIsMappedRecordSupported, setRecordConverter, setRequiresAutoCommit, setShouldConvertDataToStrings, setSupportsLocalTransactions, setValueInRecord, shouldConvertDataToStrings, supportsLocalTransactions
 
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
addSequence, clone, convertObject, copyInto, createConnectionCustomizer, getCustomModifyValueForCall, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultSequence, getDefaultSequenceToWrite, getEndDelimiter, getIdentifierQuoteCharacter, getOperator, getPlatformOperators, getSelectSequenceQuery, getSequence, getSequencePreallocationSize, getSequences, getSequencesToWrite, getStartDelimiter, getTableQualifier, getTimestampFromServer, getTimestampQuery, getUpdateSequenceQuery, hasDefaultSequence, initialize, isAccess, isAttunity, isCloudscape, isDB2, isDBase, isDerby, isFirebird, isH2, isHSQL, isInformix, isMySQL, isODBC, isOracle, isOracle9, isPointBase, isPostgreSQL, isSQLAnywhere, isSQLServer, isSybase, isSymfoware, isTimesTen, isTimesTen7, removeAllSequences, removeSequence, setConversionManager, setDefaultSequence, setEndDelimiter, setSelectSequenceNumberQuery, setSequencePreallocationSize, setSequences, setStartDelimiter, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, shouldUseCustomModifyForCall, toString, usesPlatformDefaultSequence
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MODE

public static String MODE

SEND

public static String SEND

RECEIVE

public static String RECEIVE

SEND_RECEIVE

public static String SEND_RECEIVE

SELECTOR

public static String SELECTOR

TIMEOUT

public static String TIMEOUT

DESTINATION

public static String DESTINATION

DESTINATION_URL

public static String DESTINATION_URL

REPLY_TO_DESTINATION

public static String REPLY_TO_DESTINATION

REPLY_TO_DESTINATION_URL

public static String REPLY_TO_DESTINATION_URL
Constructor Detail

JMSPlatform

public JMSPlatform()
Default constructor.

Method Detail

buildInteractionSpec

public javax.resource.cci.InteractionSpec buildInteractionSpec(EISInteraction interaction)
Allow the platform to build the interaction spec based on properties defined in the interaction.

Overrides:
buildInteractionSpec in class EISPlatform

createDOMRecord

public javax.resource.cci.Record createDOMRecord(String recordName,
                                                 EISAccessor accessor)
Allow the platform to handle the creation of the DOM record. Creates an indexed record (mapped records are not supported).

Overrides:
createDOMRecord in class EISPlatform

setDOMInRecord

public void setDOMInRecord(Element dom,
                           javax.resource.cci.Record record,
                           EISInteraction call,
                           EISAccessor accessor)
Stores the XML DOM value into the record. Convert the DOM to text and add to the indexed record.

Overrides:
setDOMInRecord in class EISPlatform

createDatabaseRowFromDOMRecord

public org.eclipse.persistence.internal.sessions.AbstractRecord createDatabaseRowFromDOMRecord(javax.resource.cci.Record record,
                                                                                               EISInteraction call,
                                                                                               EISAccessor accessor)
Allow the platform to handle the creation of the Record for the DOM record. Translate the indexed record text into a DOM record.

Overrides:
createDatabaseRowFromDOMRecord in class EISPlatform