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 |
---|---|
private ServiceIDListener |
JoinManager.callback
Contains the listener -- instantiated by the entity that constructs
this join manager -- that will receive an event containing the
service ID assigned to this join manager's service by one of the
lookup services with which that service is registered.
|
Constructor and Description |
---|
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceIDListener callback,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of this class that will register the given
service reference with all discovered lookup services and, through
an event sent to the given
ServiceIDListener object,
communicate the service ID assigned by the first lookup service
with which the service is registered. |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceIDListener callback,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, configured using the items
retrieved through the given
Configuration object,
that will register the given service reference with all discovered
lookup services and, through an event sent to the given
ServiceIDListener object, communicate the service ID
assigned by the first lookup service with which the service is
registered. |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceID serviceID,
ServiceIDListener callback,
JoinManager.Conf conf)
Convenience method invoked by the constructors of this class that
uses the given
Configuration to initialize the current
instance of this utility, and initiates all join processing for
the given parameters. |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.