com.sun.jini.mahalo
Interface TxnManager

All Superinterfaces:
Administrable, DestroyAdmin, JoinAdmin, Landlord, Remote, ServiceProxyAccessor, TransactionConstants, TransactionManager
All Known Implementing Classes:
ActivatableMahaloImpl, NonActivatableMahaloImpl, TransientMahaloImpl, TxnManagerImpl

public interface TxnManager
extends Remote, Landlord, DestroyAdmin, Administrable, JoinAdmin, ServiceProxyAccessor, TransactionManager

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
 Transaction getTransaction(long id)
          Retrieves a Transaction given the transaction's ID.
 TransactionManager manager()
          Returns a reference to the TransactionManager interface.
 
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.TransactionManager
abort, abort, commit, commit, create, getState, join
 

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

getTransaction

Transaction getTransaction(long id)
                           throws RemoteException,
                                  UnknownTransactionException
Retrieves a Transaction given the transaction's ID.

Parameters:
id - the id
Throws:
RemoteException
UnknownTransactionException


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.