edu.rice.cs.drjava.model
Interface FinalizationListener<T>


public interface FinalizationListener<T>

A listener that may be added to classes that implement the Finalizable interface. When the object is garbage collected, these listeners will be notified.


Method Summary
 void finalized(FinalizationEvent<T> fe)
          Called when the object we registered the listener to is garbage collected
 

Method Detail

finalized

void finalized(FinalizationEvent<T> fe)
Called when the object we registered the listener to is garbage collected

Parameters:
fe - an event that contains the object that is going to be GC'ed