Class PhantomResourceReference

java.lang.Object
java.lang.ref.Reference
java.lang.ref.PhantomReference
de.intarsys.tools.resourcetracker.PhantomResourceReference
All Implemented Interfaces:
IResourceReference

public class PhantomResourceReference extends PhantomReference implements IResourceReference
A generic reference to some trackable resource. The resource finalization is managed using a PhantomReference to the container. When the container is garbage collected, the reference is forwarded to the ResourceTracker that created it for disposal.