com.sun.jini.fiddler
Class NonActivatableFiddlerImpl

java.lang.Object
  extended by com.sun.jini.fiddler.FiddlerImpl
      extended by 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.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.jini.fiddler.FiddlerImpl
FiddlerImpl.LocatorGroupsStruct
 
Field Summary
 
Fields inherited from class com.sun.jini.fiddler.FiddlerImpl
discardLogger, eventsLogger, groupsLogger, leaseLogger, locatorsLogger, persistLogger, problemLogger, registrationLogger, startupLogger, tasksLogger
 
Constructor Summary
NonActivatableFiddlerImpl(String[] configArgs, LifeCycle lifeCycle)
          Constructs a new instance of FiddlerImpl that is not activatable, but which will persist its state.
 
Method Summary
 
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
 

Constructor Detail

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.