Package | Description |
---|---|
net.jini.lookup |
Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
|
Modifier and Type | Field and Description |
---|---|
protected JoinManager.ProxyReg |
JoinManager.ProxyRegTask.proxyReg |
protected JoinManager.ProxyReg |
JoinManager.JoinTask.proxyReg
Data structure referencing the task's associated lookup service
|
Modifier and Type | Method and Description |
---|---|
private JoinManager.ProxyReg |
JoinManager.findReg(ServiceRegistrar proxy)
For the given lookup service proxy, searches the
joinSet
for the corresponding ProxyReg element, and upon finding
such an element, returns that element; otherwise returns
null . |
JoinManager.ProxyReg |
JoinManager.ProxyRegTask.getProxyReg()
Accessor method that returns the instance of
ProxyReg
(the lookup service) associated with the task represented by
the current instance of this class. |
Modifier and Type | Method and Description |
---|---|
protected void |
JoinManager.AddAttributesTask.doAttributes(JoinManager.ProxyReg proxyReg)
Performs the actual attribute augmentation, replacement, or
modification work.
|
protected void |
JoinManager.SetAttributesTask.doAttributes(JoinManager.ProxyReg proxyReg)
Performs the actual attribute replacement work.
|
protected void |
JoinManager.ModifyAttributesTask.doAttributes(JoinManager.ProxyReg proxyReg)
Performs the actual attribute modification work.
|
private void |
JoinManager.removeTasks(JoinManager.ProxyReg proxyReg)
Removes (from the task manager) and cancels (in the wakeup manager)
all tasks associated with the given instance of
ProxyReg . |
Constructor and Description |
---|
JoinManager.AddAttributesTask(JoinManager.ProxyReg proxyReg,
Entry[] newAttrs)
Constructor that associates this task with the lookup service
referenced in the given
ProxyReg parameter. |
JoinManager.DiscardProxyTask(JoinManager.ProxyReg proxyReg)
Constructor that provides this task with access (through the given
ProxyReg parameter) to the lease to be cancelled. |
JoinManager.JoinTask(JoinManager.ProxyReg proxyReg)
Basic constructor; simply stores the input parameters
|
JoinManager.LeaseExpireNotifyTask(JoinManager.ProxyReg proxyReg,
Entry[] regAttrs)
Constructor that associates this task with the lookup service
referenced in the given
ProxyReg parameter. |
JoinManager.ModifyAttributesTask(JoinManager.ProxyReg proxyReg,
Entry[] attrSetTemplates,
Entry[] attrChanges)
Constructor that associates this task with the lookup service
referenced in the given
ProxyReg parameter. |
JoinManager.ProxyRegTask(JoinManager.ProxyReg proxyReg,
int seqN)
Basic constructor; simply stores the input parameters
|
JoinManager.RegisterTask(JoinManager.ProxyReg proxyReg,
Entry[] regAttrs)
Constructor that associates this task with the lookup service
referenced in the given
ProxyReg parameter. |
JoinManager.SetAttributesTask(JoinManager.ProxyReg proxyReg,
Entry[] replacementAttrs)
Constructor that associates this task with the lookup service
referenced in the given
ProxyReg parameter. |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.