org.pfsw.bif.lifecycle
Interface IReleasable


public interface IReleasable

This interface specifies just a release() method an object must understand to release its internal resources.
This is more or less the same as IDisposable. However, developers may prefer release() over dispose() or deliberately want to use a different mechanism than the more commonly used dispose().


Method Summary
 void release()
          Release any resources that should not be referred to anymore in order to let the garbage collector take care of them.
 

Method Detail

release

void release()
Release any resources that should not be referred to anymore in order to let the garbage collector take care of them. Usually after calling this method the receiver cannot be used anymore.