Dieter Wimberger wrote:
<snip>

Just an update.  I wrote a SingletonHolder within Jetspeed that sets
itself as the System properties.  It does't do anything to the
references that already exist but anytime you add a new Object to the
hashtable it puts it in its own internal Hashtable.  This was needed to
get past a bug in Properties (ClassCastException when it isn't a
String).  

It works fine now.  You just do a SingletonHolder.put() within your
Singleton and it never gets Garbage Collected...  :)

Kevin

-- 
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
"For evil to win is for good men to do nothing."


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to