Package com.sun.jini.mahalo
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 com.sun.jini.landlord.Landlord
Landlord.RenewResultsNested classes/interfaces inherited from interface net.jini.core.transaction.server.TransactionManager
TransactionManager.Created -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLogger and configuration component name for NormFields inherited from interface net.jini.core.transaction.server.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 net.jini.admin.Administrable
getAdminMethods inherited from interface com.sun.jini.admin.DestroyAdmin
destroyMethods inherited from interface net.jini.core.transaction.server.ExtendedTransactionManager
abort, abort, commit, commit, create, disJoin, getState, join, join, join, join, join, join, join, prepareMethods inherited from interface net.jini.admin.JoinAdmin
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocatorsMethods inherited from interface com.sun.jini.start.ServiceProxyAccessor
getServiceProxyMethods inherited from interface net.jini.core.transaction.server.TransactionManager
abort, abort, commit, commit, create, getState, getTransactionManagerId, join, needParticipantsJoin
-
Field Details
-
MAHALO
Logger and configuration component name for Norm- See Also:
-
-
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
-