com.sun.jini.mercury
Class NonActivatableMercuryImpl
java.lang.Object
com.sun.jini.mercury.MailboxImpl
com.sun.jini.mercury.NonActivatableMercuryImpl
- All Implemented Interfaces:
- DestroyAdmin, TimeConstants, Landlord, MailboxAdmin, MailboxBackEnd, ServiceProxyAccessor, Remote, Administrable, JoinAdmin, EventMailbox, PullEventMailbox, ProxyAccessor, ServerProxyTrust
class NonActivatableMercuryImpl
- extends MailboxImpl
Convenience class intended for use with the
ServiceStarter
framework to start
an implementation of Mercury that is not activatable, but 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 |
NonActivatableMercuryImpl
NonActivatableMercuryImpl(String[] configArgs,
LifeCycle lifeCycle)
throws Exception
- Constructs a new instance of
MailboxImpl
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.