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 | Method and Description |
---|---|
void |
LookupCache.addListener(ServiceDiscoveryListener listener)
Registers a
ServiceDiscoveryListener object with
the event mechanism of a LookupCache . |
LookupCache |
ServiceDiscoveryManager.createLookupCache(ServiceTemplate tmpl,
ServiceItemFilter filter,
ServiceDiscoveryListener listener)
The
createLookupCache method allows the client-like entity
to request that the ServiceDiscoveryManager create a new
managed set (or cache) and populate it with services, which match
criteria defined by the entity, and whose references are registered with
one or more of the lookup services the entity has targeted for discovery. |
void |
LookupCache.removeListener(ServiceDiscoveryListener listener)
Removes a
ServiceDiscoveryListener object from the set
of listeners currently registered with the LookupCache . |
Copyright © 2016–2018. All rights reserved.