All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sgi.sysadm.ui.ExtraCleanup

public interface ExtraCleanup
ExtraCleanup is an interface for doing additional resource deallocation. When an RFrame's dispose() method is called, it calls the extraCleanup() method on each Component in its hierarchy that implements the ExtraCleanup method. In this way, Components that use CategoryListeners or PacketListeners can remove their listeners and thus get garbage-collected.

The reason that removeNotify() is not used for this purpose is that a call to removeNotify() can be followed by a call to addNotify(). This would require Components doing extra cleanup in removeNotify() to have logic to restore their state in addNotify().


Method Index

 o extraCleanup()
Release resources owned by this object so that it can be garbage-collected.

Methods

 o extraCleanup
 public abstract void extraCleanup()
Release resources owned by this object so that it can be garbage-collected.


All Packages  Class Hierarchy  This Package  Previous  Next  Index