com.marringtons.util
Interface Closeable

All Known Implementing Classes:
DAO, Session

public interface Closeable

Used by any object that needs to be closed before it drops from sight. More specifically the Cache system expects Closeable objects so that it knows how to close an object before disposing of it.

Author:
Paul Marrington

Method Summary
 void close()
          Used by the caching system.
 

Method Detail

close

public void close()
Used by the caching system. Closes any outstanding non-memory resourced for the object - and for any other objects owned by the resource. Should not throw exceptions. Should not complain if called more than once for an object.



Copyright © 2005 Paul Marrington http://library.marringtons.com