Re: LookupCache, ServiceDiscoveryListener and discard guarantees

Mark Brouwer <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Gregg Wonderly wrote:

> One of the other issues, is that I need to know about the existance of N
> singleton services.  I.e. there are several services implementing the same
> interface, but which I need to access separately to administer, or
> configure
> explicitly.  The SDM doesn't really allow me to find these and enumerate
> them
> without having advanced knowledge of how to enumerate each instance (using
> ServiceID or specified Entry values).  My caching is based on Maps of
> the form

I think I don't understand you. Creating a lookup cache takes a
ServiceTemplate and ServiceItemFilter so I don't see how it can't find
all services matching certain criteria, it also guarantees it will
return only one service no matter with how many lookup services it is
registered with.

Can you elaborate Gregg,
--
Mark

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.