Package | Description |
---|---|
net.jini.discovery |
These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini Discovery and Join Specification.
|
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 | Class and Description |
---|---|
class |
LookupDiscovery
This class is a helper utility class that encapsulates the functionality
required of an entity that wishes to employ multicast discovery to
find lookup services located within the entity's "multicast radius"
(roughly, the number of hops beyond which neither the multicast requests
from the entity, nor the multicast announcements from the lookup service,
will propagate).
|
class |
LookupDiscoveryManager
This class is a helper utility class that organizes and manages all
discovery-related activities on behalf of a client or service.
|
class |
LookupLocatorDiscovery
This class encapsulates the functionality required of an entity that
wishes to employ the unicast discovery protocol to discover a lookup
service.
|
Modifier and Type | Method and Description |
---|---|
DiscoveryManagement |
ServiceDiscoveryManager.getDiscoveryManager()
The
getDiscoveryManager method will return an
object that implements the DiscoveryManagement
interface. |
DiscoveryManagement |
JoinManager.getDiscoveryManager()
Returns the instance of
DiscoveryManagement that was
either passed into the constructor, or that was created as a result
of null being input to that parameter. |
Constructor and Description |
---|
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of this class that will register the
service with all discovered lookup services, using the supplied
ServiceID . |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, configured using the items
retrieved through the given
Configuration , that will
register the service with all discovered lookup services, using the
supplied ServiceID . |
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. |
ServiceDiscoveryManager(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of
ServiceDiscoveryManager which
will, on behalf of the entity that constructs this class, discover and
manage a set of lookup services, as well as discover and manage sets
of services registered with those lookup services. |
ServiceDiscoveryManager(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, which is configured using the
items retrieved through the given
Configuration , that
will, on behalf of the entity that constructs this class, discover and
manage a set of lookup services, as well as discover and manage sets
of services registered with those lookup services. |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.