Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated)
11g Release 1 (11.1.1)

B32476-04

oracle.toplink.eis
Class EISAccessor

java.lang.Object
  extended by oracle.toplink.internal.databaseaccess.DatasourceAccessor
      extended by oracle.toplink.eis.EISAccessor
All Implemented Interfaces:
java.lang.Cloneable, oracle.toplink.internal.databaseaccess.Accessor

public class EISAccessor
extends DatasourceAccessor

EISAccessor is an implementation of the Accessor interface. It is responsible for:

Since:
OracleAS TopLink 10g (10.0.3)
See Also:
EISInteraction, EISLogin

Constructor Summary
EISAccessor()
          Default Constructor.
 
Method Summary
 java.lang.Object basicExecuteCall(Call call, oracle.toplink.internal.sessions.AbstractRecord translationRow, oracle.toplink.internal.sessions.AbstractSession session)
          Execute the interaction.
 void basicRollbackTransaction(oracle.toplink.internal.sessions.AbstractSession session)
          Rollback the local transaction on the datasource.
 java.lang.Object executeCall(Call call, oracle.toplink.internal.sessions.AbstractRecord translationRow, oracle.toplink.internal.sessions.AbstractSession session)
          Avoid super to have logging occur after possible manual auto-commit.
 javax.resource.cci.Connection getCCIConnection()
          Return the CCI connection to the EIS resource adapter.
 EISPlatform getEISPlatform()
          Return and cast the platform.
 javax.resource.cci.RecordFactory getRecordFactory()
          Return the RecordFactory.
 void setRecordFactory(javax.resource.cci.RecordFactory recordFactory)
          Set the RecordFactory.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EISAccessor

public EISAccessor()
Default Constructor.

Method Detail

executeCall

public java.lang.Object executeCall(Call call,
                                    oracle.toplink.internal.sessions.AbstractRecord translationRow,
                                    oracle.toplink.internal.sessions.AbstractSession session)
                             throws DatabaseException
Avoid super to have logging occur after possible manual auto-commit.

Specified by:
executeCall in interface oracle.toplink.internal.databaseaccess.Accessor
Overrides:
DatasourceAccessor in class oracle.toplink.internal.databaseaccess.DatasourceAccessor
Returns:
depending of the type either the row count, row or vector of rows.
Throws:
DatabaseException

basicExecuteCall

public java.lang.Object basicExecuteCall(Call call,
                                         oracle.toplink.internal.sessions.AbstractRecord translationRow,
                                         oracle.toplink.internal.sessions.AbstractSession session)
                                  throws DatabaseException
Execute the interaction. The execution can differ slightly depending on the type of interaction. The call may be parameterized where the arguments are in the translation row. The row will be empty if there are no parameters.

Specified by:
DatasourceAccessor in class oracle.toplink.internal.databaseaccess.DatasourceAccessor
Returns:
depending of the type either the row count, row or vector of rows.
Throws:
DatabaseException

getCCIConnection

public javax.resource.cci.Connection getCCIConnection()
Return the CCI connection to the EIS resource adapter.


getEISPlatform

public EISPlatform getEISPlatform()
Return and cast the platform.


getRecordFactory

public javax.resource.cci.RecordFactory getRecordFactory()
Return the RecordFactory. The record factory is acquired from the ConnectionManager, and used to create record to pass to interactions.


setRecordFactory

public void setRecordFactory(javax.resource.cci.RecordFactory recordFactory)
Set the RecordFactory. The record factory is acquired from the ConnectionManager, and used to create record to pass to interactions.


basicRollbackTransaction

public void basicRollbackTransaction(oracle.toplink.internal.sessions.AbstractSession session)
                              throws DatabaseException
Rollback the local transaction on the datasource.

Specified by:
DatasourceAccessor in class oracle.toplink.internal.databaseaccess.DatasourceAccessor
Throws:
DatabaseException

Copyright © 1998, 2012, Oracle. All Rights Reserved.