|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.resources.servicecore.LeaseListenerAdapter
public class LeaseListenerAdapter
This class provides an adapter for LeaseListener methods. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.
| Constructor Summary | |
|---|---|
LeaseListenerAdapter()
|
|
| Method Summary | |
|---|---|
void |
expired(LeasedResource resource)
Notifies the manager of a lease expiration |
void |
register(LeasedResource resource)
Notifies the manager of a new lease being created. |
void |
removed(LeasedResource resource)
Notifies the manager of a lease removal |
void |
renewed(LeasedResource resource)
Notifies the manager of a lease renewel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LeaseListenerAdapter()
| Method Detail |
|---|
public void expired(LeasedResource resource)
LeaseListener
expired in interface LeaseListenerresource - The resource associated with the expirationpublic void removed(LeasedResource resource)
LeaseListener
removed in interface LeaseListenerresource - The resource associated with the removalpublic void register(LeasedResource resource)
LeaseListener
register in interface LeaseListenerresource - The resource associated with the new Lease.public void renewed(LeasedResource resource)
LeaseListener
renewed in interface LeaseListenerresource - The resource associated with the renewal
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||