| |
|
| java.lang.Object java.lang.Thread org.lateralnz.common.util.ObjRefUtils
ObjRefUtils | final public class ObjRefUtils extends Thread (Code) | | a way to ensure that certain singletons and other objects which
should not be garbage collected, are not. This runs as a sleeping
thread, and stores objects in a list -- they can never be retrieved
since this should not be used as a retrieval mechanism
author: J R Briggs |
add | public void add(Object o)(Code) | | add an object to be remembered
|
getInstance | public static ObjRefUtils getInstance()(Code) | | get the singleton instance of this class
|
run | public void run()(Code) | | sleep forever
|
|
|
|