Added: incubator/river/jtsk/skunk/niclas1/services/fiddler/src/main/java/com/sun/jini/fiddler/package.html
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/skunk/niclas1/services/fiddler/src/main/java/com/sun/jini/fiddler/package.html?rev=724989&view=auto
==============================================================================
--- incubator/river/jtsk/skunk/niclas1/services/fiddler/src/main/java/com/sun/jini/fiddler/package.html (added)
+++ incubator/river/jtsk/skunk/niclas1/services/fiddler/src/main/java/com/sun/jini/fiddler/package.html Tue Dec 9 21:19:00 2008
@@ -0,0 +1,2993 @@
+<!--
+ ! Licensed to the Apache Software Foundation (ASF) under one
+ ! or more contributor license agreements. See the NOTICE file
+ ! distributed with this work for additional information
+ ! regarding copyright ownership. The ASF licenses this file
+ ! to you under the Apache License, Version 2.0 (the
+ ! "License"); you may not use this file except in compliance
+ ! with the License. You may obtain a copy of the License at
+ !
+ ! http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+
+<html>
+<body bgcolor="white">
+
+Provides the server side of an implementation of the lookup discovery service
+(see <code>{@link net.jini.discovery.LookupDiscoveryService}</code>).
+Multiple client-side proxy classes are used to interact and communicate
+with the backend server defined in the class
+<code>{@link com.sun.jini.fiddler.FiddlerImpl}</code>.
+Those proxy classes are:
+<ul>
+ <li><code>{@link com.sun.jini.fiddler.FiddlerProxy}</code> - the proxy
+ for the <code>{@link net.jini.discovery.LookupDiscoveryService}</code>
+ interface, which defines how clients register with the lookup discovery
+ service
+ <li><code>{@link com.sun.jini.fiddler.FiddlerAdminProxy}</code> - the proxy
+ for the <code>{@link com.sun.jini.fiddler.FiddlerAdmin}</code> interface,
+ which specifies the methods through which clients can perform administrative
+ duties such as joining, changing the policy for persisting the service's
+ state, and gracefully shutting down the service
+ <li><code>{@link com.sun.jini.fiddler.FiddlerRegistration}</code> - the proxy
+ for the <code>{@link net.jini.discovery.LookupDiscoveryRegistration}</code>
+ interface, which specifies the methods through which clients can perform
+ duties such as group and locator management, state retrieval, and discarding
+ discovered but unavailable lookup services so they will be eligible for
+ re-discovery
+</ul>
+<p>
+ Clients interact with the <i>Fiddler</i> implementation of the lookup
+ discovery service by communicating with the backend server through the
+ above proxies. When a client makes a remote method invocation on one of
+ the proxies, the proxy makes a call on the corresponding method which is
+ specified in the <code>{@link com.sun.jini.fiddler.Fiddler}</code> interface,
+ is implemented in <code>{@link com.sun.jini.fiddler.FiddlerImpl}</code>,
+ and ultimately executes on the backend server.
+
+<p>
+ The Fiddler implementation of the lookup discovery service can be run
+ in one of the following modes:
+<ul>
+ <li><i>transient</i> - when run in this mode, Fiddler will not persist its
+ state, and it is not <i>activatable</i>; that is, it will not be
+ restarted by the activation system upon a system crash or failure.
+ To run Fiddler in this mode, specify the wrapper class
+ <code>com.sun.jini.fiddler.TransientFiddlerImpl</code>, to the
+ {@link com.sun.jini.start.NonActivatableServiceDescriptor}, as
+ required by the {@link com.sun.jini.start Service Starter} framework.
+ <li><i>nonactivatable</i> - when run in this mode, Fiddler <i>does</i> persist
+ its state, but is not activatable. To run Fiddler in this mode, specify the
+ wrapper class <code>com.sun.jini.fiddler.NonActivatableFiddlerImpl</code>,
+ to the {@link com.sun.jini.start.NonActivatableServiceDescriptor}, as
+ required by the {@link com.sun.jini.start Service Starter} framework.
+ <li><i>activatable</i> - when run in this mode, Fiddler both persists its
+ state, and is activatable. To run Fiddler in this mode, specify the
+ wrapper class <code>com.sun.jini.fiddler.ActivatableFiddlerImpl</code>,
+ to the {@link com.sun.jini.start.SharedActivatableServiceDescriptor}, as
+ required by the {@link com.sun.jini.start Service Starter} framework.
+</ul>
+<p>
+ This document provides the following information about Fiddler:
+<ul>
+ <li><a href="#fiddlerConfigEntries">Configuring Fiddler</a>
+ <li><a href="#fiddlerAccessControl">Access Control Permission Targets</a>
+ <li><a href="#fiddlerLoggers">Logging</a>
+ <li><a href="#fiddlerExamples">Examples for Running Fiddler</a>
+</ul>
+
+
+<a name="fiddlerConfigEntries">
+
+<H2>Configuring Fiddler</H2>
+
+The Fiddler implementation of the lookup discovery service supports the
+configuration entries described below; where each configuration entry name
+is associated with the component name <code>com.sun.jini.fiddler</code>.
+Note that the configuration entries specified here are specific to the
+Fiddler implementation of the service. Also note that each entry whose name
+is prefixed with the string "initial" is retrieved only when the service
+is started for the first time. All other entries, unless otherwise stated,
+are retrieved from the configuration when the service is started
+or restarted.
+
+<a name="activationIdPreparer">
+<table summary="Describes the activationIdPreparer configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>activationIdPreparer</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.security.ProxyPreparer}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new {@link net.jini.security.BasicProxyPreparer}()
+ </code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Preparer for the proxy to the activation ID that is
+ generated by the activation system and associated with
+ the instance of the lookup discovery service that the
+ activation system constructs. The value of this entry
+ should not be <code>null</code>, and is only used when
+ the service is run in activatable mode.
+ <p>
+ This service does not invoke any methods on the prepared
+ <code>ActivationID</code> directly; however, the service
+ passes the prepared <code>ActivationID</code> to clients
+ which may call its
+ {@link java.rmi.activation.ActivationID#activate activate}
+ method if they need to reactivate this service.
+</table>
+
+<a name="activationSystemPreparer">
+<table summary="Describes the activationSystemPreparer configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>activationSystemPreparer</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.security.ProxyPreparer}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new {@link net.jini.security.BasicProxyPreparer}()
+ </code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Preparer for the proxy to the activation system. The value of
+ this entry should not be <code>null</code>, and is only used
+ when the service is run in activatable mode.
+ <p>
+ The following methods of the proxy returned by this preparer
+ are invoked by this service:
+ <ul>
+ <li>{@link java.rmi.activation.ActivationSystem#unregisterObject
+ unregisterObject}
+ </ul>
+</table>
+
+<a name="discoveryManager">
+<table summary="Describes the discoveryManager configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>discoveryManager</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.discovery.DiscoveryManagement}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new
+ {@link net.jini.discovery.LookupDiscoveryManager#LookupDiscoveryManager(
+ java.lang.String[], net.jini.core.discovery.LookupLocator[],
+ net.jini.discovery.DiscoveryListener,
+ net.jini.config.Configuration) LookupDiscoveryManager}(
+ {@link net.jini.discovery.DiscoveryGroupManagement#NO_GROUPS
+ DiscoveryGroupManagement.NO_GROUPS},
+ new {@link net.jini.core.discovery.LookupLocator}[0], null, config)</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> The discovery manager that is passed to the join manager
+ that is employed by this service to advertise itself to
+ clients through lookup services. This discovery manager
+ must satisfy the following requirements: it must not be
+ <code>null</code>, it must be an instance of both the interface
+ {@link net.jini.discovery.DiscoveryGroupManagement} and the
+ interface {@link net.jini.discovery.DiscoveryLocatorManagement},
+ and it must be initially configured to discover
+ <code>DiscoveryGroupManagement.NO_GROUPS</code> and no locators
+ (<code>new </code>{@link net.jini.core.discovery.LookupLocator
+ LookupLocator}[0]).
+</table>
+
+<a name="initialLeaseBound">
+<table summary="Describes the initialLeaseBound configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>initialLeaseBound</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td><code>long</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>1000*60*30</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> The initial value of the least upper bound applied to the
+ duration of each lease granted by this service.
+ <p>
+ Once the service has completed startup processing, the
+ value of this item can be modified through the
+ <code>{@link com.sun.jini.fiddler.FiddlerAdmin}</code> interface.
+ During startup, and upon any change through
+ <code>com.sun.jini.fiddler.FiddlerAdmin</code>, the
+ persistent version of the service stores the value of this
+ item. After any crash-and-restart of the service, that stored
+ value - rather than this configuration item - is always
+ consulted during recovery.
+</table>
+
+<a name="initialLookupAttributes">
+<table summary="Describes the initialLookupAttributes configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>initialLookupAttributes</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.core.entry.Entry Entry[]}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>null</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Additional set of attributes the service will associate
+ itself with when initially joining each targeted lookup
+ service at startup. To determine the full set of
+ attributes to use when initially joining lookup services,
+ this set is combined with the set of attributes the
+ service itself supplies internally
+ (<code>{@link net.jini.lookup.entry.ServiceInfo}</code> and
+ <code>{@link com.sun.jini.lookup.entry.BasicServiceType}</code>
+ for this implementation of the service). A <code>null</code>
+ value is equivalent to
+ an empty <code>{@link net.jini.core.entry.Entry}</code> array.
+ This item is consulted only when the service starts up for
+ the first time.
+ <p>
+ During initial startup, the service joins all discovered
+ lookup services, registering itself with the combined set
+ of attributes described above. Once the initial join
+ process is complete, the set of attributes with which the
+ service is currently registered (and with which it is to
+ perform all future joins) can be modified through the
+ <code>{@link net.jini.admin.JoinAdmin}</code> interface.
+ During startup, and upon any change through
+ {@link net.jini.admin.JoinAdmin}, the service persists the set of
+ attributes with which it is to join the lookup services
+ of interest. After any crash-and-restart of the service,
+ those persisted attributes - rather than this configuration
+ item - are always consulted during recovery.
+</table>
+
+<a name="initialLookupGroups">
+<table summary="Describes the initialLookupGroups configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>initialLookupGroups</code></font>
+
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link java.lang.String}[]
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new
+ {@link java.lang.String}[] { "" } /* the public group */</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Initial groups this service should discover and join.
+ <p>
+ During initial startup, the service will retrieve the
+ value contained in this item and directly configure itself
+ to discover and join lookup services belonging to the
+ given groups.
+
+ <p>
+ Once the service has completed startup processing, the
+ set of groups to join can be modified through the
+ {@link net.jini.admin.JoinAdmin} interface. During startup,
+ and upon any change through {@link net.jini.admin.JoinAdmin},
+ the service persists the set of groups to join. After any
+ crash-and-restart of the service, those persisted group
+ names - rather than this configuration item - are always
+ consulted during recovery.
+</table>
+
+<a name="initialLookupLocators">
+<table summary="Describes the initialLookupLocators configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>initialLookupLocators</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.core.discovery.LookupLocator}[]
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new
+ {@link net.jini.core.discovery.LookupLocator}[0]</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Initial locators of lookup services this service should
+ discover and join.
+ <p>
+ During initial startup, the service will retrieve the
+ value contained in this item and directly configure
+ itself to discover and join the lookup services
+ corresponding to the given locators.
+
+ <p>
+ Once the service has completed startup processing, the set
+ of locators to join can be modified through the
+ {@link net.jini.admin.JoinAdmin} interface. During startup, and
+ upon any change through {@link net.jini.admin.JoinAdmin}, the
+ service persists the set of locators to join. After
+ any crash-and-restart of the service, those persisted
+ locators - rather than this configuration item - are
+ always consulted during recovery.
+</table>
+
+<a name="initialPersistenceSnapshotThreshold">
+<table summary="Describes the initialPersistenceSnapshotThreshold
+ configuration entry" border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>initialPersistenceSnapshotThreshold</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td><code>int</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>200</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> The initial value for the threshold used by the persistent
+ versions of the service when deciding whether or not to take
+ a snapshot of the service's state. This value represents the
+ number of log records that must have been written since the
+ last snapshot and before a new snapshot is taken.
+ <p>
+ Once the service has completed startup processing, the
+ value of this item can be modified through the
+ <code>{@link com.sun.jini.fiddler.FiddlerAdmin}</code> interface.
+ During startup, and upon any change through
+ <code>com.sun.jini.fiddler.FiddlerAdmin</code>, the
+ persistent version of the service stores the value of this
+ item. After any crash-and-restart of the service, that stored
+ value - rather than this configuration item - is always
+ consulted during recovery.
+</table>
+
+<a name="initialPersistenceSnapshotWeight">
+<table summary="Describes the initialPersistenceSnapshotWeight configuration
+ entry" border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>initialPersistenceSnapshotWeight</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td><code>float</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>10</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> The initial value for the weight factor the persistent versions
+ of the service each applies when deciding when to take a
+ snapshot of the service's state. This value represents the
+ ratio of the size of the snapshot record to the size of the
+ log update record.
+ <p>
+ Once the service has completed startup processing, the
+ value of this item can be modified through the
+ <code>{@link com.sun.jini.fiddler.FiddlerAdmin}</code> interface.
+ During startup, and upon any change through
+ <code>com.sun.jini.fiddler.FiddlerAdmin</code>, the
+ persistent version of the service stores the value of this
+ item. After any crash-and-restart of the service, that stored
+ value - rather than this configuration item - is always
+ consulted during recovery.
+</table>
+
+<a name="leaseMax">
+<table summary="Describes the leaseMax configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>leaseMax</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td><code>long</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>1000L*60*60*24*365*1000</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> When re-setting the bound on lease durations, that bound
+ cannot be set to a value larger than this value.
+</table>
+
+<a name="listenerPreparer">
+<table summary="Describes the listenerPreparer configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>listenerPreparer</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.security.ProxyPreparer}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new {@link net.jini.security.BasicProxyPreparer}()
+ </code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Preparer for the proxies to the remote event listeners
+ that are registered with this service. This preparer is
+ used to prepare those listeners only when they are initially
+ registered with this service. The value of this entry
+ should not be <code>null</code>, and the preparer must return
+ a listener that is equal to the original listener as determined
+ by <code>Object.equals</code>.
+ <p>
+ This preparer should perform all operations required to use a
+ newly received listener, typically including verifying trust
+ in the listener proxy, granting permissions, and setting
+ constraints. The prepared listener will be retained by the
+ service in its persistent store.
+
+ <p>
+ The following methods of the proxy returned by this preparer
+ are invoked by this service:
+ <ul>
+ <li>{@link net.jini.core.event.RemoteEventListener#notify notify}
+ </ul>
+</table>
+
+<a name="locatorToDiscoverPreparer">
+<table summary="Describes the locatorToDiscoverPreparer configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>locatorToDiscoverPreparer</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.security.ProxyPreparer}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new {@link net.jini.security.BasicProxyPreparer}()
+ </code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Preparer for the lookup locators of the lookup services
+ this service is to discover on behalf of the clients that
+ register with it. This preparer is used to prepare those
+ locators only when they are initially input to this service;
+ either when a client first registers with this service, or
+ later, when the registration's locators-of-interest are
+ changed through the <code>LookupDiscoveryRegistration</code>.
+ The value of this entry should not be <code>null</code>.
+ <p>
+ This preparer should perform all operations required to use a
+ newly received lookup locator, typically including verifying
+ trust in the listener proxy, granting permissions, and setting
+ constraints. The prepared lookup locator will be retained by
+ the service in its persistent store.
+
+ <p>
+ Currently, none of the methods on the lookup locator returned
+ by this preparer are invoked by this implementation of the
+ service.
+</table>
+
+<a name="locatorToJoinPreparer">
+<table summary="Describes the locatorToJoinPreparer configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>locatorToJoinPreparer</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.security.ProxyPreparer}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new {@link net.jini.security.BasicProxyPreparer}()
+ </code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Preparer for the lookup locators of the lookup services
+ the service itself is to discover and join. This preparer is
+ used to prepare those locators only when they are initially
+ associated with this service; either when this service
+ is first started, or later, when the locators are changed
+ through the {@link net.jini.admin.JoinAdmin} interface.
+ The value of this entry should not be <code>null</code>.
+ <p>
+ This preparer should perform all operations required to use a
+ newly received lookup locator, typically including verifying
+ trust in the listener proxy, granting permissions, and setting
+ constraints. The prepared lookup locator will be retained by
+ the service in its persistent store.
+
+ <p>
+ The <code>LookupLocator</code> instances obtained from the
+ <code>initialLookupLocators</code> configuration entry will
+ <i>not</i> be prepared by this preparer.
+
+ <p>
+ When joining any lookup service, this service may invoke
+ (or use the constraints assigned to) the following methods of
+ the <code>LookupLocator</code> instances returned by this
+ preparer:
+ <ul>
+ <li>{@link net.jini.core.discovery.LookupLocator#getRegistrar
+ getRegistrar}
+ </ul>
+</table>
+
+<a name="loginContext">
+<table summary="Describes the loginContext configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>loginContext</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link javax.security.auth.login.LoginContext}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td> no login context
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> The JAAS login context to use for performing a JAAS
+ login. This context also provides the <code>Subject</code>
+ the service will run as after the service has successfully
+ logged in. If the value of this entry is <code>null</code>,
+ no JAAS login is performed.
+</table>
+
+<a name="persistenceDirectory">
+<table summary="Describes the persistenceDirectory configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>persistenceDirectory</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link java.lang.String}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><em>Required for persistent implementations:
+ no default
+ </em>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> The path of the directory in which this service will store
+ its persistent state. This entry is required only for
+ persistent (activatable and nonactivatable) implementations
+ of this service; otherwise it is not used. The value of this
+ entry should not be <code>null</code>, and the associated
+ directory should not already exist. That directory will be
+ deleted if the service is destroyed through the
+ <code>{@link com.sun.jini.admin.DestroyAdmin}</code>
+ interface.
+</table>
+
+<a name="recoveredListenerPreparer">
+<table summary="Describes the recoveredListenerPreparer configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>recoveredListenerPreparer</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.security.ProxyPreparer}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new {@link net.jini.security.BasicProxyPreparer}()
+ </code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Preparer for the proxies to the remote event listeners
+ that are registered with this service. This preparer is
+ used to prepare those listeners only after they have been
+ previously prepared; for example, upon recovery of the
+ service's persisted state. The value of this entry should
+ not be <code>null</code>, and is only used by the persistent
+ versions of this service (activatable and nonactivatable
+ modes).
+ <p>
+ This preparer needs to perform only those operations whose
+ results are not retained in the listener proxy itself, but
+ which need need to be performed in the environment in which
+ the proxy is unmarshalled; typically the granting of permissions.
+
+ <p>
+ The following methods of the proxy returned by this preparer
+ are invoked by this service:
+ <ul>
+ <li>{@link net.jini.core.event.RemoteEventListener#notify notify}
+ </ul>
+</table>
+
+<a name="recoveredLocatorToDiscoverPreparer">
+<table summary="Describes the recoveredLocatorToDiscoverPreparer configuration
+ entry" border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>recoveredLocatorToDiscoverPreparer</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.security.ProxyPreparer}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new {@link net.jini.security.BasicProxyPreparer}()
+ </code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Preparer for the lookup locators of the lookup services
+ this service is to discover on behalf of the clients that
+ register with it. This preparer is used to prepare those
+ locators only after they have been previously prepared;
+ for example, upon recovery of the service's persisted state.
+ The value of this entry should not be <code>null</code>,
+ and is only used by the persistent versions of this service
+ (activatable and nonactivatable modes).
+ <p>
+ This preparer should perform only those operations whose
+ results are not retained in the lookup locator itself, but
+ which need to be performed in the environment in which the
+ proxy is unmarshalled; typically the granting of permissions.
+</table>
+
+<a name="recoveredLocatorToJoinPreparer">
+<table summary="Describes the recoveredLocatorToJoinPreparer configuration
+ entry" border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>recoveredLocatorToJoinPreparer</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.security.ProxyPreparer}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new {@link net.jini.security.BasicProxyPreparer}()
+ </code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> Preparer for the lookup locators of the lookup services
+ the service itself is to discover and join. This preparer
+ is used to prepare those locators only after they have been
+ previously prepared; for example, upon recovery of the
+ service's persisted state. The value of this entry should
+ not be <code>null</code>, and is only used by the persistent
+ versions of this service (activatable and nonactivatable modes).
+ <p>
+ This preparer should perform only those operations whose
+ results are not retained in the lookup locator itself, but
+ which need to be performed in the environment in which the
+ proxy is unmarshalled; typically the granting of permissions.
+
+ <p>
+ The <code>LookupLocator</code> instances obtained from the
+ <code>initialLookupLocators</code> are prepared by this
+ preparer only during recovery.
+</table>
+
+<a name="serverExporter">
+<table summary="Describes the serverExporter configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>serverExporter</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link net.jini.export.Exporter}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td> Activatable case - <br>
+ <code> new
+ {@link net.jini.activation.ActivationExporter#ActivationExporter(
+ java.rmi.activation.ActivationID,
+ net.jini.export.Exporter) ActivationExporter}(<br>
+       activationID,<br>
+       new {@link
+ net.jini.jeri.BasicJeriExporter#BasicJeriExporter(
+ net.jini.jeri.ServerEndpoint,
+ net.jini.jeri.InvocationLayerFactory,
+ boolean,
+ boolean) BasicJeriExporter}(<br>
+            
+ {@link net.jini.jeri.tcp.TcpServerEndpoint#getInstance
+ TcpServerEndpoint.getInstance}(0),<br>
+            
+ new {@link net.jini.jeri.BasicILFactory}(),<br>
+            
+ false,<br>
+            
+ true) )</code>
+
+ <p>Nonactivatable case - <br>
+ <code> new
+ {@link net.jini.jeri.BasicJeriExporter#BasicJeriExporter(
+ net.jini.jeri.ServerEndpoint,
+ net.jini.jeri.InvocationLayerFactory,
+ boolean,
+ boolean) BasicJeriExporter}(<br>
+       {@link
+ net.jini.jeri.tcp.TcpServerEndpoint#getInstance
+ TcpServerEndpoint.getInstance}(0),<br>
+       new {@link net.jini.jeri.BasicILFactory}(),<br>
+       false,<br>
+       true)</code>
+
+ <p>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> The object to use for exporting this service. The value of this
+ entry should not be <code>null</code>. When this service is run
+ in the activatable mode, the call to <code>getEntry</code> will
+ supply the activation ID in the <code>data</code> argument.
+</table>
+
+<a name="taskManager">
+<table summary="Describes the taskManager configuration entry"
+ border="0" cellpadding="2">
+ <tr valign="top">
+ <th scope="col" summary="layout"><font size="+1">•</font>
+ <th scope="col" align="left" colspan="2"><font size="+1">
+ <code>taskManager</code></font>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Type:
+ <td> {@link com.sun.jini.thread.TaskManager}
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Default:
+ <td><code>new
+ {@link com.sun.jini.thread.TaskManager#TaskManager()
+ TaskManager}(10, (15*1000), 1.0f)</code>
+
+ <tr valign="top">
+ <td>  
+ <th scope="row" align="right">
+ Description:
+ <td> The object that pools and manages the various threads
+ executed by this implementation of the service. The
+ default manager creates a maximum of 10 threads, waits
+ 15 seconds before removing idle threads, and uses a load
+ factor of 1.0 when determining whether to create a new
+ thread.
+</table>
+<p>
+
+ The configuration passed to Fiddler will be passed to one or more
+ of the configurable classes listed below. Thus, the same configuration
+ used to configure Fiddler is also used to configure instances of the
+ classes used by Fiddler to perform that service's lookup discovery and
+ join management duties. For information on the configuration entries
+ supported by those classes, refer to the documentation associated with
+ each class.
+
+<p>
+<ul>
+ <li><a href="../../../../net/jini/discovery/LookupDiscovery.html" title="class in net.jini.discovery"><code>LookupDiscovery</code></a>,
+ employed by the service to use the multicast discovery protocol to discover the group(s) of lookup services the
+ service should
+ join, as specified through the <a href="#discoveryManager"><code>discoveryManager</code></a> configuration entry
+ <li><a href="../../../../net/jini/discovery/LookupLocatorDiscovery.html" title="class in net.jini.discovery"><code>LookupLocatorDiscovery</code></a>,
+ employed by the service to use the unicast discovery protocol to discover the specific lookup service(s) the
+ service
+ should join, as specified through the <a href="#discoveryManager"><code>discoveryManager</code></a>
+ configuration entry
+ <li><a href="../../../../net/jini/lookup/JoinManager.html" title="class in net.jini.lookup"><code>JoinManager</code></a>,
+ employed by the service to manage the service's <i>join state</i> related to the lookup service(s) discovered
+ through
+ multicast and/or unicast discovery
+</ul>
+<p>
+
+ <a name="fiddlerAccessControl">
+ <h2>Access Control Permission Targets</h2>
+ </a>
+
+ The following table lists the names of the remote methods provided
+ by the proxy objects to the Fiddler backend server, and each method's
+ corresponding target name, which can be used to enforce access control
+ using {@link com.sun.jini.fiddler.FiddlerPermission}:
+<p>
+<table border="1" cellpadding="5"
+ summary="The proxy methods and associated target names for
+ FiddlerPermission.">
+
+ <tr>
+ <th> Proxy Method
+ <th> Target Name
+
+ <!-- LookupDiscoveryService -->
+
+ <tr>
+ <td> {@link net.jini.discovery.LookupDiscoveryService#register
+ LookupDiscoveryService.register}
+ <td> register
+
+ <!-- LookupDiscoveryRegistration -->
+
+ <tr>
+ <td> {@link net.jini.discovery.LookupDiscoveryRegistration#getRegistrars
+ LookupDiscoveryRegistration.getRegistrars}
+ <td> getRegistrars
+ <tr>
+ <td> {@link net.jini.discovery.LookupDiscoveryRegistration#getGroups
+ LookupDiscoveryRegistration.getGroups}
+ <td> getGroups
+ <tr>
+ <td> {@link net.jini.discovery.LookupDiscoveryRegistration#getLocators
+ LookupDiscoveryRegistration.getLocators}
+ <td> getLocators
+ <tr>
+ <td> {@link net.jini.discovery.LookupDiscoveryRegistration#addGroups
+ LookupDiscoveryRegistration.addGroups}
+ <td> addGroups
+ <tr>
+ <td> {@link
+ net.jini.discovery.LookupDiscoveryRegistration#setGroups
+ LookupDiscoveryRegistration.setGroups}
+ <td> setGroups
+ <tr>
+ <td> {@link
+ net.jini.discovery.LookupDiscoveryRegistration#removeGroups
+ LookupDiscoveryRegistration.removeGroups}
+ <td> removeGroups
+ <tr>
+ <td> {@link
+ net.jini.discovery.LookupDiscoveryRegistration#addLocators
+ LookupDiscoveryRegistration.addLocators}
+ <td> addLocators
+ <tr>
+ <td> {@link
+ net.jini.discovery.LookupDiscoveryRegistration#setLocators
+ LookupDiscoveryRegistration.setLocators}
+ <td> setLocators
+ <tr>
+ <td> {@link
+ net.jini.discovery.LookupDiscoveryRegistration#removeLocators
+ LookupDiscoveryRegistration.removeLocators}
+ <td> removeLocators
+ <tr>
+ <td> {@link
+ net.jini.discovery.LookupDiscoveryRegistration#discard
+ LookupDiscoveryRegistration.discard}
+ <td> discard
+
+ <!-- Lease and LeaseMap -->
+
+ <tr>
+ <td> {@link
+ net.jini.core.lease.Lease#renew
+ Lease.renew}
+ <td> renewLease
+ <tr>
+ <td>
+ {@link
+ net.jini.core.lease.Lease#cancel
+ Lease.cancel}
+ <td>
+ cancelLease
+ <tr>
+ <td>
+ {@link
+ net.jini.core.lease.LeaseMap#renewAll
+ LeaseMap.renewAll}
+ <td>
+ renewLeases
+ <tr>
+ <td>
+ {@link
+ net.jini.core.lease.LeaseMap#cancelAll
+ LeaseMap.cancelAll}
+ <td>
+ cancelLeases
+
+ <!-- Administrable -->
+
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.Administrable#getAdmin
+ Administrable.getAdmin}
+ <td>
+ getAdmin
+
+ <!-- FiddlerAdmin -->
+
+ <tr>
+ <td>
+ {@link
+ com.sun.jini.fiddler.FiddlerAdmin#setLeaseBound
+ FiddlerAdmin.setLeaseBound}
+ <td>
+ setLeaseBound
+ <tr>
+ <td>
+ {@link
+ com.sun.jini.fiddler.FiddlerAdmin#getLeaseBound
+ FiddlerAdmin.getLeaseBound}
+ <td>
+ getLeaseBound
+ <tr>
+ <td>
+ {@link
+ com.sun.jini.fiddler.FiddlerAdmin#setPersistenceSnapshotWeight
+ FiddlerAdmin.setPersistenceSnapshotWeight}
+ <td>
+ setPersistenceSnapshotWeight
+ <tr>
+ <td>
+ {@link
+ com.sun.jini.fiddler.FiddlerAdmin#getPersistenceSnapshotWeight
+ FiddlerAdmin.getPersistenceSnapshotWeight}
+ <td>
+ getPersistenceSnapshotWeight
+ <tr>
+ <td>
+ {@link
+ com.sun.jini.fiddler.FiddlerAdmin#setPersistenceSnapshotThreshold
+ FiddlerAdmin.setPersistenceSnapshotThreshold}
+ <td>
+ setPersistenceSnapshotThreshold
+ <tr>
+ <td>
+ {@link
+ com.sun.jini.fiddler.FiddlerAdmin#getPersistenceSnapshotThreshold
+ FiddlerAdmin.getPersistenceSnapshotThreshold}
+ <td>
+ getPersistenceSnapshotThreshold
+
+ <!-- JoinAdmin -->
+
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#getLookupAttributes
+ JoinAdmin.getLookupAttributes}
+ <td>
+ getLookupAttributes
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#addLookupAttributes
+ JoinAdmin.addLookupAttributes}
+ <td>
+ addLookupAttributes
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#modifyLookupAttributes
+ JoinAdmin.modifyLookupAttributes}
+ <td>
+ modifyLookupAttributes
+
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#getLookupGroups
+ JoinAdmin.getLookupGroups}
+ <td>
+ getLookupGroups
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#addLookupGroups
+ JoinAdmin.addLookupGroups}
+ <td>
+ addLookupGroups
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#removeLookupGroups
+ JoinAdmin.removeLookupGroups}
+ <td>
+ removeLookupGroups
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#setLookupGroups
+ JoinAdmin.setLookupGroups}
+ <td>
+ setLookupGroups
+
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#getLookupLocators
+ JoinAdmin.getLookupLocators}
+ <td>
+ getLookupLocators
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#addLookupLocators
+ JoinAdmin.addLookupLocators}
+ <td>
+ addLookupLocators
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#removeLookupLocators
+ JoinAdmin.removeLookupLocators}
+ <td>
+ removeLookupLocators
+ <tr>
+ <td>
+ {@link
+ net.jini.admin.JoinAdmin#setLookupLocators
+ JoinAdmin.setLookupLocators}
+ <td>
+ setLookupLocators
+
+ <!-- DestroyAdmin -->
+
+ <tr>
+ <td>
+ {@link
+ com.sun.jini.admin.DestroyAdmin#destroy
+ DestroyAdmin.destroy}
+ <td>
+ destroy
+
+ <!-- ProxyTrust -->
+
+ <tr>
+ <td>
+ {@link
[... 1757 lines stripped ...]