GigaSpaces XAP 9.7.2 API

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.

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jini.landlord.Landlord
Landlord.RenewResults
 
Nested classes/interfaces inherited from interface net.jini.core.transaction.server.TransactionManager
TransactionManager.Created
 
Field Summary
static String MAHALO
          Logger and configuration component name for Norm
 
Fields inherited from interface net.jini.core.transaction.server.TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
 
Method Summary
 TransactionManager getLocalProxy()
           
 Transaction getTransaction(long id)
          Retrieves a Transaction given the transaction's ID.
 TransactionManager manager()
          Returns a reference to the TransactionManager interface.
 void reenterPreparedExternalXid(Object xid, List<TransactionParticipant> parts)
          given a prepared xid (retrieved from participants) reenlist it and its participants- used in XA
 
Methods inherited from interface com.sun.jini.landlord.Landlord
cancel, cancelAll, renew, renewAll
 
Methods inherited from interface com.sun.jini.admin.DestroyAdmin
destroy
 
Methods inherited from interface net.jini.admin.Administrable
getAdmin
 
Methods inherited from interface net.jini.admin.JoinAdmin
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators
 
Methods inherited from interface com.sun.jini.start.ServiceProxyAccessor
getServiceProxy
 
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
 
Methods inherited from interface net.jini.core.transaction.server.TransactionManager
abort, abort, commit, commit, create, getState, getTransactionManagerId, join, needParticipantsJoin
 

Field Detail

MAHALO

static final String MAHALO
Logger and configuration component name for Norm

See Also:
Constant Field Values
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.