LR.2. The Interface

The LeaseRenewalService (in the net.jini.lease package) defines the interface to the renewal service. The interface is not a remote interface; each implementation of the renewal service exports proxy objects that implement the LeaseRenewalService interface local to the client, using an implementation-specific protocol to communicate with the actual remote server. All of the proxy methods obey normal RMI remote interface semantics. Two proxy objects are equal (using the equals method) if they are proxies for the same renewal service. All the methods of LeaseRenewalService throw RemoteException and require only the default serialization semantics. Therefore, LeaseRenewalService can be implemented directly using RMI.

 package ...

Get Jini™ Specifications, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.