net.jini.discovery.DiscoveryManagement
net.jini.discovery.DiscoveryGroupManagement
net.jini.discovery.DiscoveryLocatorManagement
The discovery utilities also include a set of standard helper utility classes that implement one or more of the discovery management interfaces. The helper utility classes are:
net.jini.discovery.LookupDiscovery
net.jini.discovery.LookupLocatorDiscovery
net.jini.discovery.LookupDiscoveryManager
Additional classes and packages:
The Jini(TM) Discovery Utilities Specification is available in html.
net.jini.discovery package.
ConstrainableLookupLocator, and
LookupLocator constructors which take a URL as one of the
parameters, now complies with parsing of hierarchical server based naming
authorities, as defined by RFC 2396. Stricter parsing may genarate new
MalformedURLExceptions.
-
ConstrainableLookupLocator handles
ConnectionAbsoluteTime and
ConnectionRelativeTime constraints, enabling the
specification of timeouts on unicast discovery connection attempts.
-
LookupLocatorDiscovery handles any
ConnectionRelativeTime and ConnectionAbsoluteTime
constraints that may be set on the LookupLocators passed into its
constructors.
- The
LookupDiscovery,
LookupLocator, ConstrainableLookupLocator, and
LookupLocatorDiscovery classes now try all the IP addresses
that a given host name may resolve to, instead of just the first one. This is as per the
recommendations in RFC 1123.
Changes to the
com.sun.jini.discovery package.
Discovery class now enables constraint checking to be optionally
delayed. With this change, constraint checks need not be performed as part of multicast
announcement or request decoding.
Discovery providers that support delayed constraint checking must implement the new
MulticastAnnouncementDecoder
and
MulticastRequestDecoder interfaces.
DiscoveryConstraints class supports processing of
ConnectionRelativeTime and ConnectionAbsoluteTime
constraints. Note that the processed constraints will no longer return
ConnectionRelativeTime and ConnectionAbsoluteTime
as unfulfilled constraints.
LookupDiscovery
utility now allows ConnectionRelativeTime and
ConnectionAbsoluteTime as part of its discovery constraints.