|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tynamo.jdo.internal.JDOTransactionManagerImpl
public class JDOTransactionManagerImpl
| Constructor Summary | |
|---|---|
JDOTransactionManagerImpl(JDOPersistenceManagerSource source)
|
|
| Method Summary | |
|---|---|
void |
abort()
Aborts the current transaction, and starts a new transaction to replace it. |
void |
commit()
Commits the current transaction (which will cause a flush of data to the database), then starts a new transaction to replace it. |
javax.jdo.PersistenceManager |
getPersistenceManager()
Gets the active persistent manager for this request, creating it as necessary. |
void |
threadDidCleanup()
Rollsback the transaction at the end of the request, then closes the session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDOTransactionManagerImpl(JDOPersistenceManagerSource source)
| Method Detail |
|---|
public void abort()
JDOTransactionManager
abort in interface JDOTransactionManagerpublic void commit()
JDOTransactionManager
commit in interface JDOTransactionManagerpublic javax.jdo.PersistenceManager getPersistenceManager()
JDOTransactionManager
getPersistenceManager in interface JDOTransactionManagerJDOPersistenceManagerSourcepublic void threadDidCleanup()
commit()
after making any changes, if they should persist.
threadDidCleanup in interface org.apache.tapestry5.ioc.services.ThreadCleanupListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||