|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.toplink.essentials.sessions.SessionEventAdapter
org.compass.gps.device.jpa.embedded.toplink.CompassSessionEventListener
public class CompassSessionEventListener
A TopLink SessionEventListener that uses the transaction callback methods to sync between them and Compass transaction mechanism.
| Constructor Summary | |
|---|---|
CompassSessionEventListener(Compass compass,
JpaCompassGps jpaCompassGps,
boolean commitBeforeCompletion,
boolean toplinkControlledTransaction,
Properties indexSettings)
|
|
| Method Summary | |
|---|---|
protected void |
finalize()
|
Compass |
getCompass()
|
CompassSession |
getCurrentCompassSession(oracle.toplink.essentials.sessions.Session session)
|
Properties |
getIndexSettings()
|
JpaCompassGps |
getJpaCompassGps()
|
void |
postBeginTransaction(oracle.toplink.essentials.sessions.SessionEvent event)
|
void |
postCommitTransaction(oracle.toplink.essentials.sessions.SessionEvent event)
|
void |
postRollbackTransaction(oracle.toplink.essentials.sessions.SessionEvent event)
|
void |
preCommitTransaction(oracle.toplink.essentials.sessions.SessionEvent event)
|
| Methods inherited from class oracle.toplink.essentials.sessions.SessionEventAdapter |
|---|
missingDescriptor, moreRowsDetected, noRowsModified, outputParametersDetected, postAcquireClientSession, postAcquireConnection, postAcquireExclusiveConnection, postAcquireUnitOfWork, postCalculateUnitOfWorkChangeSet, postCommitUnitOfWork, postConnect, postDistributedMergeUnitOfWorkChangeSet, postExecuteQuery, postLogin, postMergeUnitOfWorkChangeSet, postReleaseClientSession, postReleaseUnitOfWork, postResumeUnitOfWork, preBeginTransaction, preCalculateUnitOfWorkChangeSet, preCommitUnitOfWork, preDistributedMergeUnitOfWorkChangeSet, preExecuteQuery, preLogin, preMergeUnitOfWorkChangeSet, prepareUnitOfWork, preReleaseClientSession, preReleaseConnection, preReleaseExclusiveConnection, preReleaseUnitOfWork, preRollbackTransaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompassSessionEventListener(Compass compass,
JpaCompassGps jpaCompassGps,
boolean commitBeforeCompletion,
boolean toplinkControlledTransaction,
Properties indexSettings)
| Method Detail |
|---|
public Compass getCompass()
public JpaCompassGps getJpaCompassGps()
public Properties getIndexSettings()
public CompassSession getCurrentCompassSession(oracle.toplink.essentials.sessions.Session session)
public void postBeginTransaction(oracle.toplink.essentials.sessions.SessionEvent event)
postBeginTransaction in interface oracle.toplink.essentials.sessions.SessionEventListenerpostBeginTransaction in class oracle.toplink.essentials.sessions.SessionEventAdapterpublic void preCommitTransaction(oracle.toplink.essentials.sessions.SessionEvent event)
preCommitTransaction in interface oracle.toplink.essentials.sessions.SessionEventListenerpreCommitTransaction in class oracle.toplink.essentials.sessions.SessionEventAdapterpublic void postCommitTransaction(oracle.toplink.essentials.sessions.SessionEvent event)
postCommitTransaction in interface oracle.toplink.essentials.sessions.SessionEventListenerpostCommitTransaction in class oracle.toplink.essentials.sessions.SessionEventAdapterpublic void postRollbackTransaction(oracle.toplink.essentials.sessions.SessionEvent event)
postRollbackTransaction in interface oracle.toplink.essentials.sessions.SessionEventListenerpostRollbackTransaction in class oracle.toplink.essentials.sessions.SessionEventAdapter
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||