|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExternalTransactionController
Purpose: Interface for external transaction management.
Description: This interface represents a delegate to be used for external transaction management. The implementing class may interface to an OMG OTS service, a Java JTA service or a manufacturer's specific implementation of these services.
Responsibilities:
Method Summary | |
---|---|
void |
beginTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Begin a transaction externally. |
void |
clearSequencingListeners()
INTERNAL: Clears sequencing listeners. |
void |
commitTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Commit a transaction externally. |
org.eclipse.persistence.internal.sequencing.SequencingCallback |
getActiveSequencingCallback(DatabaseSession dbSession,
org.eclipse.persistence.internal.sequencing.SequencingCallbackFactory sequencingCallbackFactory)
INTERNAL: Returns sequencingCallback for the current active external transaction. |
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl |
getActiveUnitOfWork()
INTERNAL: Return the active unit of work for the current active external transaction. |
org.eclipse.persistence.internal.sessions.AbstractSession |
getSession()
INTERNAL: Return the manager's session. |
void |
initializeSequencingListeners()
INTERNAL: Initializes sequencing listeners. |
void |
markTransactionForRollback()
INTERNAL: Marks the external transaction for rollback only. |
void |
registerSynchronizationListener(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl uow,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Register a listener on the unit of work. |
void |
rollbackTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Rollback a transaction externally. |
void |
setSession(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Set the manager's session. |
Method Detail |
---|
void beginTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
void commitTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl getActiveUnitOfWork()
org.eclipse.persistence.internal.sessions.AbstractSession getSession()
void registerSynchronizationListener(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl uow, org.eclipse.persistence.internal.sessions.AbstractSession session) throws DatabaseException
DatabaseException
void rollbackTransaction(org.eclipse.persistence.internal.sessions.AbstractSession session)
void markTransactionForRollback()
void setSession(org.eclipse.persistence.internal.sessions.AbstractSession session)
void initializeSequencingListeners()
org.eclipse.persistence.internal.sequencing.SequencingCallback getActiveSequencingCallback(DatabaseSession dbSession, org.eclipse.persistence.internal.sequencing.SequencingCallbackFactory sequencingCallbackFactory)
void clearSequencingListeners()
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |