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, TransactionConstants, TransactionManager, ProxyAccessor, ServerProxyTrust
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 Summary |
TransientMahaloImpl(String[] configArgs,
LifeCycle lifeCycle)
Constructs a new instance of TxnManagerImpl that is not
activatable, and which will not persist its state. |
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 |
TransientMahaloImpl
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.
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.