Interface TxnManager
- All Superinterfaces:
Administrable, DestroyAdmin, ExtendedTransactionManager, JoinAdmin, Landlord, Remote, ServiceProxyAccessor, TransactionConstants, TransactionManager
- All Known Implementing Classes:
TransientMahaloImpl, TxnManagerImpl
public interface TxnManager
extends Remote, Landlord, DestroyAdmin, Administrable, JoinAdmin, ServiceProxyAccessor, ExtendedTransactionManager
Encapsulates the interface of an implementation of a
TransactionManager.- Author:
- Sun Microsystems, Inc.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Landlord
Landlord.RenewResultsNested classes/interfaces inherited from interface TransactionManager
TransactionManager.Created -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLogger and configuration component name for NormFields inherited from interface TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING -
Method Summary
Modifier and TypeMethodDescriptiongetTransaction(long id) Retrieves aTransactiongiven the transaction's ID.manager()Returns a reference to theTransactionManagerinterface.voidreenterPreparedExternalXid(Object xid, List<TransactionParticipant> parts) given a prepared xid (retrieved from participants) reenlist it and its participants- used in XAMethods inherited from interface Administrable
getAdminMethods inherited from interface DestroyAdmin
destroyMethods inherited from interface ExtendedTransactionManager
abort, abort, commit, commit, create, disJoin, getState, join, join, join, join, join, join, join, prepareMethods inherited from interface JoinAdmin
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocatorsMethods inherited from interface ServiceProxyAccessor
getServiceProxyMethods inherited from interface TransactionManager
abort, abort, commit, commit, create, getState, getTransactionManagerId, join, needParticipantsJoin
-
Field Details
-
MAHALO
-
-
Method Details
-
manager
Returns a reference to theTransactionManagerinterface.- Throws:
RemoteException
-
getLocalProxy
- Throws:
RemoteException
-
getTransaction
Retrieves aTransactiongiven the transaction's ID.- Parameters:
id- the id- Throws:
RemoteExceptionUnknownTransactionException
-
reenterPreparedExternalXid
void reenterPreparedExternalXid(Object xid, List<TransactionParticipant> parts) throws RemoteException, CannotCommitException given a prepared xid (retrieved from participants) reenlist it and its participants- used in XA- Throws:
RemoteExceptionCannotCommitException
-