com.sun.jini.mahalo
Interface TxnManager
- All Superinterfaces:
- Administrable, DestroyAdmin, ExtendedTransactionManager, JoinAdmin, Landlord, Remote, ServiceProxyAccessor, TransactionConstants, TransactionManager
- All Known Implementing Classes:
- 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.
Field Summary |
static String |
MAHALO
Logger and configuration component name for Norm |
Methods inherited from interface net.jini.admin.JoinAdmin |
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators |
Methods inherited from interface net.jini.core.transaction.server.ExtendedTransactionManager |
abort, abort, commit, commit, create, disJoin, getState, join, join, join, join, join, join, join, prepare |
MAHALO
static final String MAHALO
- Logger and configuration component name for Norm
- See Also:
- Constant Field Values
manager
TransactionManager manager()
throws RemoteException
- Returns a reference to the
TransactionManager
interface.
- Throws:
RemoteException
getLocalProxy
TransactionManager getLocalProxy()
throws RemoteException
- Throws:
RemoteException
getTransaction
Transaction getTransaction(long id)
throws RemoteException,
UnknownTransactionException
- Retrieves a
Transaction
given the
transaction's ID.
- Parameters:
id
- the id
- Throws:
RemoteException
UnknownTransactionException
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
- Parameters:
xid
- parts
-
- Throws:
CannotCommitException
RemoteException
Copyright © GigaSpaces.