net.jini.lookup
Class JoinManager.ModifyAttributesTask

java.lang.Object
  extended by net.jini.lookup.JoinManager.JoinTask
      extended by net.jini.lookup.JoinManager.AddAttributesTask
          extended by net.jini.lookup.JoinManager.ModifyAttributesTask
Enclosing class:
JoinManager

private final class JoinManager.ModifyAttributesTask
extends JoinManager.AddAttributesTask

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.


Field Summary
private  Entry[] attrSetTemplates
           
 
Fields inherited from class net.jini.lookup.JoinManager.AddAttributesTask
attrSets
 
Fields inherited from class net.jini.lookup.JoinManager.JoinTask
proxyReg
 
Constructor Summary
JoinManager.ModifyAttributesTask(JoinManager.ProxyReg proxyReg, Entry[] attrSetTemplates, Entry[] attrChanges)
          Constructor that associates this task with the lookup service referenced in the given ProxyReg parameter.
 
Method Summary
protected  void doAttributes(JoinManager.ProxyReg proxyReg)
          Performs the actual attribute modification work.
 
Methods inherited from class net.jini.lookup.JoinManager.AddAttributesTask
run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attrSetTemplates

private Entry[] attrSetTemplates
Constructor Detail

JoinManager.ModifyAttributesTask

JoinManager.ModifyAttributesTask(JoinManager.ProxyReg proxyReg,
                                 Entry[] attrSetTemplates,
                                 Entry[] attrChanges)
Constructor that associates this task with the lookup service referenced in the given ProxyReg parameter.

Parameters:
proxyReg - data structure that references the lookup service in which the service's attributes should be changed
attrSetTemplates - the attribute templates that are used to select (through attribute matching) the attributes to change in the service's current set of attributes
attrChanges - the attributes containing the changes to make to the attributes in the service's current set that are selected through attribute matching with the attrSetTemplates parameter
Method Detail

doAttributes

protected void doAttributes(JoinManager.ProxyReg proxyReg)
                     throws Exception
Performs the actual attribute modification work.

Overrides:
doAttributes in class JoinManager.AddAttributesTask
Throws:
Exception


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.