blob: c12b40045430dd6b3ac4f4131e4425142aa77ec7 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0) on Sun Aug 28 20:43:03 EST 2016 -->
<title>net.jini.lookup (Apache River v3.0.0 API Documentation (internals))</title>
<meta name="date" content="2016-08-28">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="net.jini.lookup (Apache River v3.0.0 API Documentation (internals))";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../net/jini/loader/pref/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../../net/jini/lookup/entry/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?net/jini/lookup/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;net.jini.lookup</h1>
<div class="docSummary">
<div class="block">Standard utility classes for managing the <i>join state</i> of a service
and the service discovery duties of a client or service.</div>
</div>
<p>See:&nbsp;<a href="#package.description">Description</a></p>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/DiscoveryAdmin.html" title="interface in net.jini.lookup">DiscoveryAdmin</a></td>
<td class="colLast">
<div class="block">Methods for controlling which groups a lookup service is a member of,
and for controlling which TCP port a lookup service uses for its
lookup locator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/LookupCache.html" title="interface in net.jini.lookup">LookupCache</a></td>
<td class="colLast">
<div class="block">The <code>LookupCache</code> interface defines the methods provided
by the object created and returned by the
<a href="../../../net/jini/lookup/ServiceDiscoveryManager.html" title="class in net.jini.lookup"><code>ServiceDiscoveryManager</code></a>
when a client-like entity invokes the
<a href="../../../net/jini/lookup/ServiceDiscoveryManager.html#createLookupCache-net.jini.core.lookup.ServiceTemplate-net.jini.lookup.ServiceItemFilter-net.jini.lookup.ServiceDiscoveryListener-"><code>createLookupCache</code></a> method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryListener.html" title="interface in net.jini.lookup">ServiceDiscoveryListener</a></td>
<td class="colLast">
<div class="block">The <code>ServiceDiscoveryListener</code> interface defines the
methods used by objects such as a <a href="../../../net/jini/lookup/LookupCache.html" title="interface in net.jini.lookup"><code>LookupCache</code></a> to notify an entity that events of interest related to
the elements of the cache have occurred.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceIDListener.html" title="interface in net.jini.lookup">ServiceIDListener</a></td>
<td class="colLast">
<div class="block">Interface used by a service that does not yet have a service ID, for
callback from the JoinManager when a service ID is assigned.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceItemFilter.html" title="interface in net.jini.lookup">ServiceItemFilter</a></td>
<td class="colLast">
<div class="block">The <code>ServiceItemFilter</code> interface defines the methods used by
an object such as the <a href="../../../net/jini/lookup/ServiceDiscoveryManager.html" title="class in net.jini.lookup"><code>ServiceDiscoveryManager</code></a> or the <a href="../../../net/jini/lookup/LookupCache.html" title="interface in net.jini.lookup"><code>LookupCache</code></a> to apply additional selection criteria when searching for
services in which an entity has registered interest.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/JoinManager.html" title="class in net.jini.lookup">JoinManager</a></td>
<td class="colLast">
<div class="block">A goal of any well-behaved service is to advertise the facilities and
functions it provides by requesting residency within at least one lookup
service.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/JoinManager.AddAttributesTask.html" title="class in net.jini.lookup">JoinManager.AddAttributesTask</a></td>
<td class="colLast">
<div class="block">Task that asynchronously augments the attributes associated with this
join manager's service in the lookup service referenced by the
current instance of this class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/JoinManager.Conf.html" title="class in net.jini.lookup">JoinManager.Conf</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/JoinManager.JoinTask.html" title="class in net.jini.lookup">JoinManager.JoinTask</a></td>
<td class="colLast">
<div class="block">Abstract base class from which all the sub-task classes are derived.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/JoinManager.ModifyAttributesTask.html" title="class in net.jini.lookup">JoinManager.ModifyAttributesTask</a></td>
<td class="colLast">
<div class="block">Task that asynchronously modifies the attributes associated with this
join manager's service in the lookup service referenced by the
current instance of this class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/JoinManager.ProxyRegTaskQueue.html" title="class in net.jini.lookup">JoinManager.ProxyRegTaskQueue</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/JoinManager.RegisterTask.html" title="class in net.jini.lookup">JoinManager.RegisterTask</a></td>
<td class="colLast">
<div class="block">Task that asynchronously registers the service associated with this
join manager with the lookup service referenced by the current
instance of this class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/JoinManager.SetAttributesTask.html" title="class in net.jini.lookup">JoinManager.SetAttributesTask</a></td>
<td class="colLast">
<div class="block">Task that asynchronously replaces the attributes associated with this
join manager's service in the lookup service referenced by the
current instance of this class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryEvent.html" title="class in net.jini.lookup">ServiceDiscoveryEvent</a></td>
<td class="colLast">
<div class="block">The <code>ServiceDiscoveryEvent</code> class encapsulates the
service discovery information made available by the event mechanism
of the <a href="../../../net/jini/lookup/LookupCache.html" title="interface in net.jini.lookup"><code>LookupCache</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.html" title="class in net.jini.lookup">ServiceDiscoveryManager</a></td>
<td class="colLast">
<div class="block">The <code>ServiceDiscoveryManager</code> class is a helper utility class that
any client-like entity can use to "discover" services registered with any
number of lookup services of interest.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.CacheTask.html" title="class in net.jini.lookup">ServiceDiscoveryManager.CacheTask</a></td>
<td class="colLast">
<div class="block">Class for implementing register/lookup/notify/dropProxy/discard tasks</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.CacheTaskDependencyManager.html" title="class in net.jini.lookup">ServiceDiscoveryManager.CacheTaskDependencyManager</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.CacheTaskWrapper.html" title="class in net.jini.lookup">ServiceDiscoveryManager.CacheTaskWrapper</a>&lt;T&gt;</td>
<td class="colLast">
<div class="block">ObservableFuture wrapper class for CacheTask's.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.EventReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.EventReg</a></td>
<td class="colLast">
<div class="block">Data structure used to group together the lease and event sequence
number.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.Initializer.html" title="class in net.jini.lookup">ServiceDiscoveryManager.Initializer</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.html" title="class in net.jini.lookup">ServiceDiscoveryManager.LookupCacheImpl</a></td>
<td class="colLast">
<div class="block">Internal implementation of the LookupCache interface.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.ProxyRegDropTask.html" title="class in net.jini.lookup">ServiceDiscoveryManager.LookupCacheImpl.ProxyRegDropTask</a></td>
<td class="colLast">
<div class="block">When the given registrar is discarded, this Task class is used to
remove the registrar from the various maps maintained by this cache.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.RegisterListenerTask.html" title="class in net.jini.lookup">ServiceDiscoveryManager.LookupCacheImpl.RegisterListenerTask</a></td>
<td class="colLast">
<div class="block">This task class, when executed, first registers to receive
ServiceEvents from the given ServiceRegistrar.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.ServiceDiscardTimerTask.html" title="class in net.jini.lookup">ServiceDiscoveryManager.LookupCacheImpl.ServiceDiscardTimerTask</a></td>
<td class="colLast">
<div class="block">Task class used to determine whether or not to "commit" a service
discard request, increasing the chances that the service will
eventually be re-discovered.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheImpl.ServiceNotifyDo.html" title="class in net.jini.lookup">ServiceDiscoveryManager.LookupCacheImpl.ServiceNotifyDo</a></td>
<td class="colLast">
<div class="block">Common code for performing service notification to one listener in
an executor task thread.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.LookupCacheTerminator.html" title="class in net.jini.lookup">ServiceDiscoveryManager.LookupCacheTerminator</a></td>
<td class="colLast">
<div class="block">Allows termination of LookupCacheImpl so blocking lookup can return
quickly</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.ProxyReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ProxyReg</a></td>
<td class="colLast">
<div class="block">A wrapper class for a ServiceRegistrar.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.ServiceDiscoveryListenerImpl.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceDiscoveryListenerImpl</a></td>
<td class="colLast">
<div class="block">Class that defines the listener that will receive local events from the
internal LookupCache used in the blocking versions of lookup().</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../net/jini/lookup/ServiceDiscoveryManager.ServiceItemReg.html" title="class in net.jini.lookup">ServiceDiscoveryManager.ServiceItemReg</a></td>
<td class="colLast">
<div class="block">Used in the LookupCache.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
<a name="package.description">
<!-- -->
</a>
<h2 title="Package net.jini.lookup Description">Package net.jini.lookup Description</h2>
<div class="block">Standard utility classes for managing the <i>join state</i> of a service
and the service discovery duties of a client or service.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>"<i>Jini Join Utilities Specification</i>",
"<i>Jini Service Discovery Utilities Specification</i>"</dd>
</dl>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../net/jini/loader/pref/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../../net/jini/lookup/entry/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?net/jini/lookup/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright 2007-2013, multiple authors.<br>Licensed under the <a href=http://www.apache.org/licenses/LICENSE-2.0 target=child >Apache License, Version 2.0</a>, see the <a href=../../../doc-files/NOTICE target=child >NOTICE</a> file for attributions.</small></p>
</body>
</html>