com.sun.jini.example.basic.ex1.awake
Class RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener

java.lang.Object
  extended bycom.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener
All Implemented Interfaces:
java.util.EventListener, net.jini.lease.LeaseListener
Enclosing class:
RegRemoteUseLeaseRenewalMgrImpl

public class RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener
extends java.lang.Object
implements net.jini.lease.LeaseListener

Class which listens for exceptions from the LeaseRenewalManager


Constructor Summary
RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener()
           
 
Method Summary
 void notify(net.jini.lease.LeaseRenewalEvent ev)
          Called by the LeaseRenewalManager when, on attempting to renew a lease, an exception occurs because the lease has already expired or is denied before the desired absolute expiration time is reached.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener

public RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener()
Method Detail

notify

public void notify(net.jini.lease.LeaseRenewalEvent ev)
Called by the LeaseRenewalManager when, on attempting to renew a lease, an exception occurs because the lease has already expired or is denied before the desired absolute expiration time is reached. Note that notification will be sent only if an exceptional condition occurs when the LeaseRenewalManager attempts to renew a lease. This method will NOT be called when the lease finally expires.

Specified by:
notify in interface net.jini.lease.LeaseListener


Copyright © 2003 Sun Microsystems Corp. All Rights Reserved.