com.sun.jini.fiddler
Class NonActivatableFiddlerImpl
java.lang.Object
com.sun.jini.fiddler.FiddlerImpl
com.sun.jini.fiddler.NonActivatableFiddlerImpl
- All Implemented Interfaces:
- DestroyAdmin, Fiddler, FiddlerAdmin, ServiceProxyAccessor, Remote, Administrable, JoinAdmin, ProxyAccessor, ServerProxyTrust
class NonActivatableFiddlerImpl
- extends FiddlerImpl
Convenience class intended for use with the
ServiceStarter
framework to start
an implementation of Fiddler that is not activatable, but which
will log its state information to persistent storage.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
Methods inherited from class com.sun.jini.fiddler.FiddlerImpl |
addGroups, addLocators, addLookupAttributes, addLookupGroups, addLookupLocators, cancelLease, cancelLeases, destroy, discard, getAdmin, getGroups, getLeaseBound, getLocators, getLookupAttributes, getLookupGroups, getLookupLocators, getPersistenceSnapshotThreshold, getPersistenceSnapshotWeight, getProxy, getProxyID, getProxyVerifier, getRegistrars, getServiceProxy, modifyLookupAttributes, register, removeGroups, removeLocators, removeLookupGroups, removeLookupLocators, renewLease, renewLeases, setGroups, setLeaseBound, setLocators, setLookupGroups, setLookupLocators, setPersistenceSnapshotThreshold, setPersistenceSnapshotWeight |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonActivatableFiddlerImpl
NonActivatableFiddlerImpl(String[] configArgs,
LifeCycle lifeCycle)
throws IOException,
ConfigurationException,
LoginException
- Constructs a new instance of
FiddlerImpl
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:
IOException
- this exception can occur when there is
a problem recovering data from disk, or
while exporting the server that's being
created.
ConfigurationException
- this exception can occur when an
problem occurs while retrieving an item
from the Configuration
generated from the contents of the
given configArgs
parameter
LoginException
- this exception occurs when authentication
fails while performing a JAAS login for
this service
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.