net.jini.lookup
Class JoinManager.RegisterTask
java.lang.Object
net.jini.lookup.JoinManager.JoinTask
net.jini.lookup.JoinManager.RegisterTask
- Enclosing class:
- JoinManager
private class JoinManager.RegisterTask
- extends JoinManager.JoinTask
Task that asynchronously registers the service associated with this
join manager with the lookup service referenced by the current
instance of this class.
Field Summary |
(package private) Entry[] |
regAttrs
Attributes with which to register the service. |
Method Summary |
void |
run()
Attempts to register this join manager's service with the lookup
service referenced in this task's proxyReg field. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
regAttrs
Entry[] regAttrs
- Attributes with which to register the service. These attributes
must not change during the registration process performed in
this this task.
JoinManager.RegisterTask
JoinManager.RegisterTask(JoinManager.ProxyReg proxyReg,
Entry[] regAttrs)
- Constructor that associates this task with the lookup service
referenced in the given
ProxyReg
parameter.
- Parameters:
proxyReg
- data structure that references the lookup service
with which the service is to be registeredregAttrs
- array of Entry objects whose elements are the
attributes with which to register the service.
The caller of this constructor should take steps
to guarantee that the contents of this parameter
do not change during the registration process
performed in this task.
run
public void run()
throws Exception
- Attempts to register this join manager's service with the lookup
service referenced in this task's proxyReg field.
- Specified by:
run
in class JoinManager.JoinTask
- Throws:
Exception
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.