Class ActionReferenceQueue

java.lang.Object
java.lang.ref.ReferenceQueue
jadex.collection.ActionReferenceQueue

public class ActionReferenceQueue extends ReferenceQueue
The extended reference queue allows for adding (weak) object with an associated action. Whenever the object becomes unreferenced its corresponding weak entry can be fetched from the queue and when this is done the associated action will automatically be executed.