net.jini.lookup
Class JoinManager.SetAttributesTask

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

private final class JoinManager.SetAttributesTask
extends JoinManager.AddAttributesTask

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.


Field Summary
 
Fields inherited from class net.jini.lookup.JoinManager.AddAttributesTask
attrSets
 
Fields inherited from class net.jini.lookup.JoinManager.JoinTask
proxyReg
 
Constructor Summary
JoinManager.SetAttributesTask(JoinManager.ProxyReg proxyReg, Entry[] replacementAttrs)
          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 replacement 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
 

Constructor Detail

JoinManager.SetAttributesTask

JoinManager.SetAttributesTask(JoinManager.ProxyReg proxyReg,
                              Entry[] replacementAttrs)
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 replaced
replacementAttrs - the attributes with which to replace the service's current set of attributes
Method Detail

doAttributes

protected void doAttributes(JoinManager.ProxyReg proxyReg)
                     throws Exception
Performs the actual attribute replacement 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.