blob: c94ad983dbe0187e548c9d8c936ff8e7055298a3 [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:42:11 EST 2016 -->
<title>JoinManager.ProxyReg (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="JoinManager.ProxyReg (Apache River v3.0.0 API Documentation (internals))";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JoinManager.ProxyReg.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/lookup/JoinManager.ModifyAttributesTask.html" title="class in net.jini.lookup"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../net/jini/lookup/JoinManager.ProxyReg.DiscLeaseListener.html" title="class in net.jini.lookup"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?net/jini/lookup/JoinManager.ProxyReg.html" target="_top">Frames</a></li>
<li><a href="JoinManager.ProxyReg.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">net.jini.lookup</div>
<h2 title="Class JoinManager.ProxyReg" class="title">Class JoinManager.ProxyReg</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>net.jini.lookup.JoinManager.ProxyReg</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/EventListener.html?is-external=true" title="class or interface in java.util">EventListener</a>, <a href="../../../org/apache/river/thread/FutureObserver.html" title="interface in org.apache.river.thread">FutureObserver</a></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../net/jini/lookup/JoinManager.html" title="class in net.jini.lookup">JoinManager</a></dd>
</dl>
<hr>
<br>
<pre>private class <span class="typeNameLabel">JoinManager.ProxyReg</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../org/apache/river/thread/FutureObserver.html" title="interface in org.apache.river.thread">FutureObserver</a></pre>
<div class="block">Wrapper class in which each instance corresponds to a lookup
service to discover, and with which this join manager's service
should be registered.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.DiscLeaseListener.html" title="class in net.jini.lookup">JoinManager.ProxyReg.DiscLeaseListener</a></span></code>
<div class="block">Class that is registered as a listener with this join manager's
lease renewal manager.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.river.thread.FutureObserver">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.river.thread.<a href="../../../org/apache/river/thread/FutureObserver.html" title="interface in org.apache.river.thread">FutureObserver</a></h3>
<code><a href="../../../org/apache/river/thread/FutureObserver.ObservableFuture.html" title="interface in org.apache.river.thread">FutureObserver.ObservableFuture</a>&lt;<a href="../../../org/apache/river/thread/FutureObserver.ObservableFuture.html" title="type parameter in FutureObserver.ObservableFuture">T</a>&gt;</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../net/jini/lookup/JoinManager.ProxyReg.DiscLeaseListener.html" title="class in net.jini.lookup">JoinManager.ProxyReg.DiscLeaseListener</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#dListener">dListener</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="../../../net/jini/core/lookup/ServiceRegistrar.html" title="interface in net.jini.core.lookup">ServiceRegistrar</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#proxy">proxy</a></span></code>
<div class="block">The <i>prepared</i> proxy to the lookup service referenced by
this class, and with which this join manager's service will be
registered.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) <a href="../../../net/jini/lookup/JoinManager.ProxyRegTask.html" title="class in net.jini.lookup">JoinManager.ProxyRegTask</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#proxyRegTask">proxyRegTask</a></span></code>
<div class="block">The <code>ProxyRegTask</code> that instantiated this
<code>ProxyReg</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent.Future.html?is-external=true" title="class or interface in java.util">java.util.concurrent.Future</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#runningTasks">runningTasks</a></span></code>
<div class="block">The instance of <code>DiscLeaseListener</code> that is registered
with the lease renewal manager that handles the lease of this join
manger's service.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) <a href="../../../net/jini/core/lease/Lease.html" title="interface in net.jini.core.lease">Lease</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#serviceLease">serviceLease</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="../../../net/jini/core/lookup/ServiceRegistration.html" title="interface in net.jini.core.lookup">ServiceRegistration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#srvcRegistration">srvcRegistration</a></span></code>
<div class="block">The <i>prepared</i> registration proxy returned by this class'
associated lookup service when this join manager registers its
associated service.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../net/jini/lookup/JoinManager.JoinTask.html" title="class in net.jini.lookup">JoinManager.JoinTask</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#taskList">taskList</a></span></code>
<div class="block">The set of sub-tasks that are to be executed in order for the
lookup service associated with the current instance of this class.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#ProxyReg-net.jini.core.lookup.ServiceRegistrar-">ProxyReg</a></span>(<a href="../../../net/jini/core/lookup/ServiceRegistrar.html" title="interface in net.jini.core.lookup">ServiceRegistrar</a>&nbsp;proxy)</code>
<div class="block">Constructor that associates this class with the lookup service
referenced in the given <code>ProxyReg</code> parameter.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#addAttributes-net.jini.core.entry.Entry:A-">addAttributes</a></span>(<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;attSet)</code>
<div class="block">With respect to the lookup service referenced in this class
and with which this join manager's service is registered, this
method associates with that service a new set of attributes -- in
addition to that service's current set of attributes.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#addTask-net.jini.lookup.JoinManager.JoinTask-">addTask</a></span>(<a href="../../../net/jini/lookup/JoinManager.JoinTask.html" title="class in net.jini.lookup">JoinManager.JoinTask</a>&nbsp;task)</code>
<div class="block">Convenience method that adds new sub-tasks to this class'
task queue.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>
<div class="block">Returns true if the both objects' associated proxies are equal.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#fail-java.lang.Throwable-">fail</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;e)</code>
<div class="block">Convenience method that encapsulates appropriate behavior when
failure is encountered related to the current instance of this
class.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#futureCompleted-java.util.concurrent.Future-">futureCompleted</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent.Future.html?is-external=true" title="class or interface in java.util">java.util.concurrent.Future</a>&nbsp;e)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#hashCode--">hashCode</a></span>()</code>
<div class="block">Returns the hash code of the proxy referenced in this class.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#modifyAttributes-net.jini.core.entry.Entry:A-net.jini.core.entry.Entry:A-">modifyAttributes</a></span>(<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;templ,
<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;attSet)</code>
<div class="block">With respect to the lookup service referenced in this class
and with which this join manager's service is registered, this
method changes that service's current attributes by selecting
the attributes to change using the given first parameter;
and identifying the desired changes to make through the
contents of the second parameter.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#register-net.jini.core.entry.Entry:A-">register</a></span>(<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;srvcAttrs)</code>
<div class="block">Registers the service associated with this join manager with the
the lookup service corresponding to this class.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#setAttributes-net.jini.core.entry.Entry:A-">setAttributes</a></span>(<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;attSet)</code>
<div class="block">With respect to the lookup service referenced in this class
and with which this join manager's service is registered, this
method replaces that service's current attributes with a new
set of attributes.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/lookup/JoinManager.ProxyReg.html#terminate--">terminate</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="proxyRegTask">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>proxyRegTask</h4>
<pre>volatile&nbsp;<a href="../../../net/jini/lookup/JoinManager.ProxyRegTask.html" title="class in net.jini.lookup">JoinManager.ProxyRegTask</a> proxyRegTask</pre>
<div class="block">The <code>ProxyRegTask</code> that instantiated this
<code>ProxyReg</code>.</div>
</li>
</ul>
<a name="proxy">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>proxy</h4>
<pre>final&nbsp;<a href="../../../net/jini/core/lookup/ServiceRegistrar.html" title="interface in net.jini.core.lookup">ServiceRegistrar</a> proxy</pre>
<div class="block">The <i>prepared</i> proxy to the lookup service referenced by
this class, and with which this join manager's service will be
registered.</div>
</li>
</ul>
<a name="srvcRegistration">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>srvcRegistration</h4>
<pre>volatile&nbsp;<a href="../../../net/jini/core/lookup/ServiceRegistration.html" title="interface in net.jini.core.lookup">ServiceRegistration</a> srvcRegistration</pre>
<div class="block">The <i>prepared</i> registration proxy returned by this class'
associated lookup service when this join manager registers its
associated service.
Writes to reference synchronized on JoinManager.this, but not referent
as it has foreign remote methods.</div>
</li>
</ul>
<a name="serviceLease">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serviceLease</h4>
<pre>volatile&nbsp;<a href="../../../net/jini/core/lease/Lease.html" title="interface in net.jini.core.lease">Lease</a> serviceLease</pre>
</li>
</ul>
<a name="taskList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>taskList</h4>
<pre>final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../net/jini/lookup/JoinManager.JoinTask.html" title="class in net.jini.lookup">JoinManager.JoinTask</a>&gt; taskList</pre>
<div class="block">The set of sub-tasks that are to be executed in order for the
lookup service associated with the current instance of this class.</div>
</li>
</ul>
<a name="runningTasks">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runningTasks</h4>
<pre>final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent.Future.html?is-external=true" title="class or interface in java.util">java.util.concurrent.Future</a>&gt; runningTasks</pre>
<div class="block">The instance of <code>DiscLeaseListener</code> that is registered
with the lease renewal manager that handles the lease of this join
manger's service.</div>
</li>
</ul>
<a name="dListener">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>dListener</h4>
<pre>private final&nbsp;<a href="../../../net/jini/lookup/JoinManager.ProxyReg.DiscLeaseListener.html" title="class in net.jini.lookup">JoinManager.ProxyReg.DiscLeaseListener</a> dListener</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ProxyReg-net.jini.core.lookup.ServiceRegistrar-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ProxyReg</h4>
<pre>public&nbsp;ProxyReg(<a href="../../../net/jini/core/lookup/ServiceRegistrar.html" title="interface in net.jini.core.lookup">ServiceRegistrar</a>&nbsp;proxy)</pre>
<div class="block">Constructor that associates this class with the lookup service
referenced in the given <code>ProxyReg</code> parameter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>proxy</code> - data structure that references the lookup service on
which the sub-tasks referenced in this class will be
executed in order</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="futureCompleted-java.util.concurrent.Future-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>futureCompleted</h4>
<pre>public&nbsp;void&nbsp;futureCompleted(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent.Future.html?is-external=true" title="class or interface in java.util">java.util.concurrent.Future</a>&nbsp;e)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../org/apache/river/thread/FutureObserver.html#futureCompleted-java.util.concurrent.Future-">futureCompleted</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/river/thread/FutureObserver.html" title="interface in org.apache.river.thread">FutureObserver</a></code></dd>
</dl>
</li>
</ul>
<a name="terminate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>terminate</h4>
<pre>public&nbsp;void&nbsp;terminate()</pre>
</li>
</ul>
<a name="addTask-net.jini.lookup.JoinManager.JoinTask-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addTask</h4>
<pre>public&nbsp;void&nbsp;addTask(<a href="../../../net/jini/lookup/JoinManager.JoinTask.html" title="class in net.jini.lookup">JoinManager.JoinTask</a>&nbsp;task)</pre>
<div class="block">Convenience method that adds new sub-tasks to this class'
task queue.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>task</code> - the task to add to the task queue</dd>
</dl>
</li>
</ul>
<a name="register-net.jini.core.entry.Entry:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>register</h4>
<pre>public&nbsp;void&nbsp;register(<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;srvcAttrs)
throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Registers the service associated with this join manager with the
the lookup service corresponding to this class. Additionally,
this method retrieves the lease granted by the lookup service
on the service's registration, and passes that lease to the
lease renewal manager. If a <code>ServiceIDListener</code>
has been registered with this join manager, this method will
send to that listener a notification containing the service's ID.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="addAttributes-net.jini.core.entry.Entry:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAttributes</h4>
<pre>public&nbsp;void&nbsp;addAttributes(<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;attSet)
throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">With respect to the lookup service referenced in this class
and with which this join manager's service is registered, this
method associates with that service a new set of attributes -- in
addition to that service's current set of attributes.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="modifyAttributes-net.jini.core.entry.Entry:A-net.jini.core.entry.Entry:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>modifyAttributes</h4>
<pre>public&nbsp;void&nbsp;modifyAttributes(<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;templ,
<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;attSet)
throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">With respect to the lookup service referenced in this class
and with which this join manager's service is registered, this
method changes that service's current attributes by selecting
the attributes to change using the given first parameter;
and identifying the desired changes to make through the
contents of the second parameter.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="setAttributes-net.jini.core.entry.Entry:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttributes</h4>
<pre>public&nbsp;void&nbsp;setAttributes(<a href="../../../net/jini/core/entry/Entry.html" title="interface in net.jini.core.entry">Entry</a>[]&nbsp;attSet)
throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">With respect to the lookup service referenced in this class
and with which this join manager's service is registered, this
method replaces that service's current attributes with a new
set of attributes.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="fail-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fail</h4>
<pre>public&nbsp;void&nbsp;fail(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;e)</pre>
<div class="block">Convenience method that encapsulates appropriate behavior when
failure is encountered related to the current instance of this
class. This method discards the lookup service proxy associated
with this object, and logs the stack trace of the given
<code>Throwable</code> according to the logging levels specified
for this utility.
Note that if the discovery manager employed by this join manager
has been terminated, then the attempt to discard the lookup
service proxy will result in an <code>IllegalStateException</code>.
Since this method is called only within the tasks run by
this join manager, and since propagating an
<code>IllegalStateException</code> out into the
<code>ThreadGroup</code> of those tasks is undesirable, this
method will not propagate the <code>IllegalStateException</code>
that occurs as a result of an attempt to discard a lookup
service proxy from the discovery manager employed by this
join manager.
For more information, refer to Bug 4490355.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<div class="block">Returns true if the both objects' associated proxies are equal.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<div class="block">Returns the hash code of the proxy referenced in this class.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= 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><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JoinManager.ProxyReg.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/lookup/JoinManager.ModifyAttributesTask.html" title="class in net.jini.lookup"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../net/jini/lookup/JoinManager.ProxyReg.DiscLeaseListener.html" title="class in net.jini.lookup"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?net/jini/lookup/JoinManager.ProxyReg.html" target="_top">Frames</a></li>
<li><a href="JoinManager.ProxyReg.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</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>