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

public class TransientMahaloImpl extends TxnManagerImpl
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.
  • Constructor Details

    • TransientMahaloImpl

      public TransientMahaloImpl(String[] configArgs, LifeCycle lifeCycle) throws Exception
      Constructs a new instance of TxnManagerImpl that is not activatable, and which will not 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.