com.sun.jini.fiddler
Class TransientFiddlerImpl
java.lang.Object
com.sun.jini.fiddler.FiddlerImpl
com.sun.jini.fiddler.TransientFiddlerImpl
- All Implemented Interfaces:
- DestroyAdmin, Fiddler, FiddlerAdmin, ServiceProxyAccessor, Remote, Administrable, JoinAdmin, ProxyAccessor, ServerProxyTrust
class TransientFiddlerImpl
- extends FiddlerImpl
Convenience class intended for use with the
ServiceStarter
framework to start
a transient (non-activatable, non-persistent) implementation
of Fiddler.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
Constructor Summary |
TransientFiddlerImpl(String[] configArgs,
LifeCycle lifeCycle)
Constructs a new instance of FiddlerImpl that is not
activatable, and which will not persist its state. |
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 |
TransientFiddlerImpl
TransientFiddlerImpl(String[] configArgs,
LifeCycle lifeCycle)
throws IOException,
ConfigurationException,
LoginException
- Constructs a new instance of
FiddlerImpl
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:
IOException
- this exception can occur when there is
a problem 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.