com.sun.jini.mahalo
Class ActivatableMahaloImpl
java.lang.Object
com.sun.jini.mahalo.TxnManagerImpl
com.sun.jini.mahalo.ActivatableMahaloImpl
- All Implemented Interfaces:
- DestroyAdmin, TimeConstants, Landlord, LocalLandlord, LeaseExpirationMgr.Expirer, LogRecovery, TxnManager, TxnSettler, ServiceProxyAccessor, Remote, Administrable, JoinAdmin, TransactionConstants, TransactionManager, ProxyAccessor, ServerProxyTrust
class ActivatableMahaloImpl
- extends TxnManagerImpl
Convenience class intended for use with the
ServiceStarter
framework to start
an implementation of Mahalo that is activatable, and which will
log its state information to persistent storage.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
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 |
ActivatableMahaloImpl
ActivatableMahaloImpl(ActivationID activationID,
MarshalledObject data)
throws Exception
- Constructs a new instance of
TxnManagerImpl
that is
activatable, and which will persist its state.
A constructor having this signature is required for the class to
be activatable. This constructor is automatically called by the
activation group when the service is activated.
- Parameters:
activationID
- the activation ID generated by the activation
system and assigned to the instance of the server
being activateddata
- state data (represented as a
MarshalledObject
) which is needed to
re-activate this server
- 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.