All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.tools.store.ResourceLocker

public interface ResourceLocker
The interface that you should implement if you keep a pointer to a resource. As resources may be flushed from memory by the ResourceStoreManager, you should implement this interface if you want to keep a pointer to some resource.

This interface will notify you if ever the resource gets unload so that you can get rid of your pointer to the resource, or reload it.


Method Index

 o notifyResourceLockBreak(Resource)
Notify that the lock is going down.

Methods

 o notifyResourceLockBreak
 public abstract void notifyResourceLockBreak(Resource resource)
Notify that the lock is going down.

Parameters:
resource - The resource whose lock is going down.

All Packages  Class Hierarchy  This Package  Previous  Next  Index