|
EclipseLink 1.0_1.0M2 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDatasourceAccessor
org.eclipse.persistence.eis.EISAccessor
public class EISAccessor
EISAccessor
is an implementation of the Accessor
interface. It is responsible for:
EISInteraction
,
EISLogin
Field Summary | |
---|---|
protected Connection |
cciConnection
|
protected RecordFactory |
recordFactory
|
Constructor Summary | |
---|---|
EISAccessor()
Default Constructor. |
Method Summary | |
---|---|
protected void |
basicBeginTransaction(AbstractSession session)
Begin a local transaction. |
protected void |
basicCommitTransaction(AbstractSession session)
Commit the local transaction. |
java.lang.Object |
basicExecuteCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Execute the interaction. |
void |
basicRollbackTransaction(AbstractSession session)
Rollback the local transaction on the datasource. |
protected void |
buildConnectLog(AbstractSession session)
If logging is turned on and the CCI implementation supports meta data then display connection info. |
protected void |
closeDatasourceConnection()
Close the connection. |
java.lang.Object |
executeCall(Call call,
AbstractRecord translationRow,
AbstractSession session)
Avoid super to have logging occur after possible manual auto-commit. |
Connection |
getCCIConnection()
Return the CCI connection to the EIS resource adapter. |
EISPlatform |
getEISPlatform()
Return and cast the platform. |
RecordFactory |
getRecordFactory()
Return the RecordFactory. |
protected boolean |
isDatasourceConnected()
Return if the connection to the "data source" is connected. |
void |
setRecordFactory(RecordFactory recordFactory)
Set the RecordFactory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Connection cciConnection
protected RecordFactory recordFactory
Constructor Detail |
---|
public EISAccessor()
Method Detail |
---|
protected void basicBeginTransaction(AbstractSession session) throws EISException
EISException
protected void closeDatasourceConnection()
protected void basicCommitTransaction(AbstractSession session) throws EISException
EISException
protected void buildConnectLog(AbstractSession session)
public java.lang.Object executeCall(Call call, AbstractRecord translationRow, AbstractSession session) throws DatabaseException
DatabaseException
public java.lang.Object basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session) throws DatabaseException
DatabaseException
public Connection getCCIConnection()
public EISPlatform getEISPlatform()
public RecordFactory getRecordFactory()
public void setRecordFactory(RecordFactory recordFactory)
public void basicRollbackTransaction(AbstractSession session) throws DatabaseException
DatabaseException
protected boolean isDatasourceConnected()
|
EclipseLink 1.0_1.0M2 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |