EclipseLink 2.4.0, build 'v20120608-r11652' API Reference

org.eclipse.persistence.eis.adapters.aq
Class AQPlatform

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.aq.AQPlatform
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.eclipse.persistence.internal.databaseaccess.Platform

public class AQPlatform
extends EISPlatform

Platform for Oracle AQ JCA adapter. This allows for Oracle AQ to be treated as a data source and accessed through EclipseLink.

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

Field Summary
static java.lang.String DEQUEUE
           
static java.lang.String DEQUEUE_OPTIONS
           
static java.lang.String ENQUEUE
           
static java.lang.String ENQUEUE_OPTIONS
           
static java.lang.String QUEUE
          AQ interaction spec properties.
static java.lang.String QUEUE_OPERATION
           
static java.lang.String SCHEMA
           
 
Fields inherited from class org.eclipse.persistence.eis.EISPlatform
domMethod, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, recordConverter, requiresAutoCommit, shouldConvertDataToStrings, supportsLocalTransactions, xmlConversionManager
 
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
conversionManager, dataTypesConvertedFromAClass, dataTypesConvertedToAClass, defaultSequence, endDelimiter, platformOperators, sequences, sequencesLock, startDelimiter, tableQualifier, timestampQuery
 
Constructor Summary
AQPlatform()
          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(java.lang.String recordName, EISAccessor accessor)
          Allow the platform to handle the creation of the DOM record.
 void setDOMInRecord(org.w3c.dom.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, buildCallFromStatement, buildNativeCall, 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
addOperator, addSequence, addSequence, buildSelectQueryForIdentity, buildSelectQueryForIdentity, buildSelectQueryForSequenceObject, buildSelectQueryForSequenceObject, clone, convertObject, copyInto, createConnectionCustomizer, createPlatformDefaultSequence, getCustomModifyValueForCall, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultSequence, getDefaultSequenceToWrite, getEndDelimiter, getIdentifierQuoteCharacter, getOperator, getPlatformOperators, getSelectSequenceQuery, getSequence, getSequencePreallocationSize, getSequences, getSequencesToWrite, getStartDelimiter, getTableQualifier, getTimestampFromServer, getTimestampQuery, getUpdateSequenceQuery, hasDefaultSequence, initialize, initializeDefaultQueries, initializePlatformOperators, isAccess, isAttunity, isCloudscape, isDB2, isDBase, isDerby, isFirebird, isH2, isHSQL, isInformix, isMaxDB, isMySQL, isODBC, isOracle, isOracle9, isPointBase, isPostgreSQL, isSQLAnywhere, isSQLServer, isSybase, isSymfoware, isTimesTen, isTimesTen7, removeAllSequences, removeSequence, sequencesAfterCloneCleanup, setConversionManager, setDefaultSequence, setEndDelimiter, setSelectSequenceNumberQuery, setSequencePreallocationSize, setSequences, setStartDelimiter, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, shouldNativeSequenceUseTransaction, shouldPrepare, shouldSelectDistinctIncludeOrderBy, shouldSelectIncludeOrderBy, shouldUseCustomModifyForCall, supportsIdentity, supportsNativeSequenceNumbers, supportsSequenceObjects, toString, usesPlatformDefaultSequence
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUEUE

public static java.lang.String QUEUE
AQ interaction spec properties.


SCHEMA

public static java.lang.String SCHEMA

QUEUE_OPERATION

public static java.lang.String QUEUE_OPERATION

ENQUEUE

public static java.lang.String ENQUEUE

DEQUEUE

public static java.lang.String DEQUEUE

ENQUEUE_OPTIONS

public static java.lang.String ENQUEUE_OPTIONS

DEQUEUE_OPTIONS

public static java.lang.String DEQUEUE_OPTIONS
Constructor Detail

AQPlatform

public AQPlatform()
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(java.lang.String recordName,
                                                 EISAccessor accessor)
Allow the platform to handle the creation of the DOM record. Create an indexed record (mapped are not supported).

Overrides:
createDOMRecord in class EISPlatform

setDOMInRecord

public void setDOMInRecord(org.w3c.dom.Element dom,
                           javax.resource.cci.Record record,
                           EISInteraction call,
                           EISAccessor accessor)
Stores the XML DOM value into the record. Convert the DOM to a RAW 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 RAW bytes into a DOM record.

Overrides:
createDatabaseRowFromDOMRecord in class EISPlatform

EclipseLink 2.4.0, build 'v20120608-r11652' API Reference