EISAccessor is an implementation of the Accessor
interface. It is responsible for:
EISInteraction, EISLogin
| Modifier and Type | Field and Description |
|---|---|
| protected Connection | |
| protected RecordFactory |
| Access | Constructor and Description |
|---|---|
| public |
| cciConnection | back to summary |
|---|---|
| protected Connection cciConnection | |
| recordFactory | back to summary |
|---|---|
| protected RecordFactory recordFactory | |
| EISAccessor | back to summary |
|---|---|
| public EISAccessor() Default Constructor. | |
| basicBeginTransaction | back to summary |
|---|---|
| protected void basicBeginTransaction(AbstractSession session) throws EISException Implements abstract org. Begin a local transaction.
| |
| basicCommitTransaction | back to summary |
|---|---|
| protected void basicCommitTransaction(AbstractSession session) throws EISException Implements abstract org. Commit the local transaction.
| |
| basicExecuteCall | back to summary |
|---|---|
| public Object basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session) throws DatabaseException Implements abstract org. 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. | |
| basicRollbackTransaction | back to summary |
|---|---|
| public void basicRollbackTransaction(AbstractSession session) throws DatabaseException Implements abstract org. Rollback the local transaction on the datasource.
| |
| buildConnectLog | back to summary |
|---|---|
| protected void buildConnectLog(AbstractSession session) Implements abstract org. If logging is turned on and the CCI implementation supports meta data then display connection info.
| |
| closeDatasourceConnection | back to summary |
|---|---|
| protected void closeDatasourceConnection() Implements abstract org. Close the connection.
| |
| executeCall | back to summary |
|---|---|
| public Object executeCall(Call call, AbstractRecord translationRow, AbstractSession session) throws DatabaseException Overrides org. Implements org. Avoid super to have logging occur after possible manual auto-commit.
| |
| getCCIConnection | back to summary |
|---|---|
| public Connection getCCIConnection() Return the CCI connection to the EIS resource adapter. | |
| getEISPlatform | back to summary |
|---|---|
| public EISPlatform getEISPlatform() Return and cast the platform. | |
| getRecordFactory | back to summary |
|---|---|
| public RecordFactory getRecordFactory() Return the RecordFactory. The record factory is acquired from the ConnectionManager, and used to create record to pass to interactions. | |
| isDatasourceConnected | back to summary |
|---|---|
| protected boolean isDatasourceConnected() Implements abstract org. Return if the connection to the "data source" is connected.
| |
| setRecordFactory | back to summary |
|---|---|
| public void setRecordFactory(RecordFactory recordFactory) Set the RecordFactory. The record factory is acquired from the ConnectionManager, and used to create record to pass to interactions. | |