com.sun.jini.mercury
Class ActivatableMercuryImpl
java.lang.Object
com.sun.jini.mercury.MailboxImpl
com.sun.jini.mercury.ActivatableMercuryImpl
- All Implemented Interfaces:
- DestroyAdmin, TimeConstants, Landlord, MailboxAdmin, MailboxBackEnd, ServiceProxyAccessor, Remote, Administrable, JoinAdmin, EventMailbox, PullEventMailbox, ProxyAccessor, ServerProxyTrust
class ActivatableMercuryImpl
- extends MailboxImpl
Convenience class intended for use with the
ServiceStarter
framework to start
an implementation of Mercury that is activatable, and which will
log its state information to persistent storage.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
Fields inherited from class com.sun.jini.mercury.MailboxImpl |
adminLogger, deliveryLogger, expirationLogger, exporter, initLogger, leaseLogger, loginContext, MERCURY, operationsLogger, persistenceLogger, receiveLogger, recoveryLogger, startupLogger |
Methods inherited from class com.sun.jini.mercury.MailboxImpl |
addLookupAttributes, addLookupGroups, addLookupLocators, addUnknownEvents, cancel, cancelAll, destroy, disableDelivery, enableDelivery, getAdmin, getLookupAttributes, getLookupGroups, getLookupLocators, getNextBatch, getProxy, getProxyVerifier, getRemoteEvents, getServiceProxy, initFailed, modifyLookupAttributes, notify, pullRegister, register, removeLookupGroups, removeLookupLocators, renew, renewAll, setLookupGroups, setLookupLocators |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivatableMercuryImpl
ActivatableMercuryImpl(ActivationID activationID,
MarshalledObject data)
throws Exception
- Constructs a new instance of
MailboxImpl
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.