Package com.sun.jini.mahalo
Class TransientMahaloImpl
java.lang.Object
com.sun.jini.mahalo.TxnManagerImpl
com.sun.jini.mahalo.TransientMahaloImpl
- All Implemented Interfaces:
DestroyAdmin,TimeConstants,Landlord,LocalLandlord,LeaseExpirationMgr.Expirer,LogRecovery,TxnManager,TxnSettler,ServiceProxyAccessor,Remote,Administrable,JoinAdmin,ExtendedTransactionManager,TransactionConstants,TransactionManager,ProxyAccessor,ServerProxyTrust
Convenience class intended for use with the
ServiceStarter framework
to start a transient (non-activatable, non-persistent) implementation of Mahalo.- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.jini.mahalo.TxnManagerImpl
TxnManagerImpl.IdGenTNested 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
Fields inherited from class com.sun.jini.mahalo.TxnManagerImpl
exporter, loginContextFields inherited from interface com.sun.jini.constants.TimeConstants
DAYS, HOURS, MINUTES, SECONDSFields inherited from interface net.jini.core.transaction.server.TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTINGFields inherited from interface com.sun.jini.mahalo.TxnManager
MAHALO -
Constructor Summary
ConstructorsConstructorDescriptionTransientMahaloImpl(String[] configArgs, LifeCycle lifeCycle) Constructs a new instance ofTxnManagerImplthat is not activatable, and which will not persist its state. -
Method Summary
Methods inherited from class com.sun.jini.mahalo.TxnManagerImpl
abort, abort, abort, abort, abort_impl, addLookupAttributes, addLookupGroups, addLookupLocators, cancel, cancelAll, commit, commit, commit, commit, create, create, destroy, disJoin, disJoin, getAdmin, getLocalProxy, getLookupAttributes, getLookupGroups, getLookupLocators, getProxy, getProxyVerifier, getServiceProxy, getState, getState, getTransaction, getTransactionManagerId, initFailed, join, join, join, join, join, join, join, join, manager, modifyLookupAttributes, needParticipantsJoin, noteUnsettledTxn, prepare, recover, reenterPreparedExternalXid, removeLookupGroups, removeLookupLocators, renew, renewAll, setLookupGroups, setLookupLocators
-
Constructor Details
-
TransientMahaloImpl
Constructs a new instance ofTxnManagerImplthat is not activatable, and which will not persist its state.- Parameters:
configArgs-Stringarray whose elements are the arguments to use when creating the server.lifeCycle- instance ofLifeCyclethat, if non-null, will cause this object'sunregistermethod to be invoked during shutdown to notify the service starter framework that the reference to this service's implementation can be 'released' for garbage collection. A value ofnullfor this argument is allowed.- Throws:
Exception- If there was a problem initializing the service.
-