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 |
ServiceDiscoveryListener.serviceAdded(ServiceDiscoveryEvent event)
When the cache receives from one of the managed lookup services,
an event signaling the registration of a service of
interest for the first time (or for the first time since
the service has been discarded), the cache invokes the
serviceAdded method on all instances of
ServiceDiscoveryListener that are registered with the
cache; doing so notifies the entity that a service of interest has
been discovered. |
void |
ServiceDiscoveryListener.serviceChanged(ServiceDiscoveryEvent event)
When the cache receives, from a managed lookup service, an event
signaling the unique modification of the attributes of a service
of interest (across the attribute sets of all references to the
service), the cache invokes the
serviceChanged
method on all instances of ServiceDiscoveryListener
that are registered with the cache; doing so notifies the entity
that the state of a service of interest has changed. |
void |
ServiceDiscoveryListener.serviceRemoved(ServiceDiscoveryEvent event)
When the cache receives, from a managed lookup service, an event
signaling the removal of a service of interest from the last such
lookup service with which it was registered, the cache invokes
the
serviceRemoved method on all instances of
ServiceDiscoveryListener that are registered with
the cache; doing so notifies the entity that a service of interest
has been discarded. |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.