Class SoftResourceReference

java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.SoftReference
de.intarsys.tools.resourcetracker.SoftResourceReference
All Implemented Interfaces:
IResourceReference

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