com.sun.jini.mahalo
Class NonActivatableMahaloImpl

java.lang.Object
  extended by com.sun.jini.mahalo.TxnManagerImpl
      extended by com.sun.jini.mahalo.NonActivatableMahaloImpl
All Implemented Interfaces:
DestroyAdmin, TimeConstants, Landlord, LocalLandlord, LeaseExpirationMgr.Expirer, LogRecovery, TxnManager, TxnSettler, ServiceProxyAccessor, Remote, Administrable, JoinAdmin, TransactionConstants, TransactionManager, ProxyAccessor, ServerProxyTrust

 class NonActivatableMahaloImpl
extends TxnManagerImpl

Convenience class intended for use with the ServiceStarter framework to start an implementation of Mahalo that is not activatable, but which will log its state information to persistent storage.

Since:
2.0
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
 
Fields inherited from class com.sun.jini.mahalo.TxnManagerImpl
destroyLogger, exporter, initLogger, loginContext, operationsLogger, participantLogger, persistenceLogger, startupLogger, transactionsLogger
 
Fields inherited from interface com.sun.jini.mahalo.TxnManager
MAHALO
 
Fields inherited from interface net.jini.core.transaction.server.TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
 
Fields inherited from interface com.sun.jini.constants.TimeConstants
DAYS, HOURS, MINUTES, SECONDS
 
Constructor Summary
NonActivatableMahaloImpl(String[] configArgs, LifeCycle lifeCycle)
          Constructs a new instance of TxnManagerImpl that is not activatable, but which will persist its state.
 
Method Summary
 
Methods inherited from class com.sun.jini.mahalo.TxnManagerImpl
abort, abort, addLookupAttributes, addLookupGroups, addLookupLocators, cancel, cancelAll, commit, commit, create, destroy, getAdmin, getLookupAttributes, getLookupGroups, getLookupLocators, getProxy, getProxyVerifier, getServiceProxy, getState, getTransaction, initFailed, join, manager, modifyLookupAttributes, nextID, noteUnsettledTxn, recover, removeLookupGroups, removeLookupLocators, renew, renewAll, setLookupGroups, setLookupLocators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonActivatableMahaloImpl

NonActivatableMahaloImpl(String[] configArgs,
                         LifeCycle lifeCycle)
                   throws Exception
Constructs a new instance of TxnManagerImpl that is not activatable, but which will persist its state.

Parameters:
configArgs - String array whose elements are the arguments to use when creating the server.
lifeCycle - instance of LifeCycle that, if non-null, will cause this object's unregister method 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 of null for this argument is allowed.
Throws:
Exception - If there was a problem initializing the service.


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