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.
|
org.apache.river.fiddler |
Provides the server side of an implementation of the lookup discovery service
(see
). |
org.apache.river.mahalo |
Provides implementations of the
TransactionManager service.
|
org.apache.river.mercury |
Provides implementations of the
EventMailbox service.
|
org.apache.river.norm.lookup | |
org.apache.river.reggie |
Provides implementations of
ServiceRegistrar . |
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractLookupDiscovery
This package private superclass of LocatorDiscovery exists for
safe construction of LocatorDiscovery's state, while retaining
backward compatibility of the API.
|
(package private) class |
AbstractLookupDiscoveryManager
This package private superclass of LookupDiscoverManager exists for
safe construction of LookupDiscoveryManager's state, while retaining
backward compatibility of the API.
|
(package private) class |
AbstractLookupLocatorDiscovery
This package private superclass of LookupLocatorDiscovery exists for
safe construction of LookupLocatorDiscovery's state, while retaining
backward compatibility of the API.
|
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 | Field and Description |
---|---|
private DiscoveryManagement |
ServiceDiscoveryManager.discMgr |
(package private) DiscoveryManagement |
ServiceDiscoveryManager.Initializer.discMgr |
private DiscoveryManagement |
JoinManager.discMgr
Contains the discovery manager that discovers the lookup services
with which this join manager will register its associated service.
|
(package private) DiscoveryManagement |
JoinManager.Conf.discoveryMgr |
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. |
Modifier and Type | Method and Description |
---|---|
private static JoinManager.Conf |
JoinManager.getConf(Configuration config,
LeaseRenewalManager leaseMgr,
DiscoveryManagement discoveryMgr,
Object serviceProxy)
This method is for constructors that use an empty configuration.
|
private static JoinManager.Conf |
JoinManager.getConfig(Configuration config,
LeaseRenewalManager leaseMgr,
DiscoveryManagement discoveryMgr,
Object serviceProxy)
Gets the configuration and throws any exceptions.
|
private static ServiceDiscoveryManager.Initializer |
ServiceDiscoveryManager.init(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config) |
private static ServiceDiscoveryManager.Initializer |
ServiceDiscoveryManager.initial(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config) |
Constructor and Description |
---|
Conf(ProxyPreparer registrarPreparer,
ProxyPreparer registrationPreparer,
ProxyPreparer serviceLeasePreparer,
java.util.concurrent.ExecutorService taskManager,
WakeupManager wakeupManager,
Integer maxNretrys,
LeaseRenewalManager leaseRenewalManager,
Long renewalDuration,
DiscoveryManagement discoveryMgr,
boolean bcreateDisco) |
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. |
Modifier and Type | Field and Description |
---|---|
(package private) DiscoveryManagement |
FiddlerInit.joinMgrLDM |
private DiscoveryManagement |
FiddlerImpl.joinMgrLDM
The lookup discovery manager this service's join manager will use
|
Modifier and Type | Field and Description |
---|---|
private DiscoveryManagement |
JoinStateManager.dm
Object used to find lookups.
|
Modifier and Type | Field and Description |
---|---|
(package private) DiscoveryManagement |
MailboxImplInit.lookupDiscMgr |
private DiscoveryManagement |
MailboxImpl.lookupDiscMgr
DiscoveryManager for joining lookup services.
|
Modifier and Type | Field and Description |
---|---|
private DiscoveryManagement |
JoinState.dm
The
DiscoveryManagement we are using to find lookups, which
must also implement DiscoveryGroupManagement and
DiscoveryLocatorManagement . |
Modifier and Type | Field and Description |
---|---|
private DiscoveryManagement |
RegistrarImpl.discoer
Manager for discovering other lookup services
|
(package private) DiscoveryManagement |
RegistrarImpl.Initializer.discoer |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.