previous chapter table of contents next chapter


A service uses the ServiceRegistrar object, which is returned as a proxy from a locator, to register itself with that locator. The server prepares a ServiceItem that contains a service object and a set of entries, and the service object may be a proxy for the real service. The server registers this service and entry information using the register() method of the ServiceRegistrar object.

Information about a registration is returned as a ServiceRegistration object, which may be queried for information such as the lease and its duration.


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