previous chapter table of contents next chapter


A client prepares a ServiceTemplate , which is a list of class objects and a list of entries. For each service locator that is found, the client can query the ServiceRegistrar object by preparing a ServiceTemplate object and calling the ServiceRegistrar object's lookup() method to see if the locator has a service matching the template. If the match is successful, an object is returned that can be cast into the class required. Service methods can then be invoked on this object.


A Programmer[ap]s Guide to Jini Technology
A Programmer[ap]s Guide to Jini Technology
ISBN: 1893115801
Year: 2000
Pages: 189

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net