org.pf.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().
- Version:
- 1.0
- Author:
- Manfred Duchrow
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. |
release
void release()
- Release any resources that should not be referred to anymore in order
to let the garbage collector take care of them.
Usuallay after calling this method the receiver cannot be used anymore.
Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.