on 3/24/00 10:27 AM, Scott C. Tavares <[EMAIL PROTECTED]> wrote:

> I always thought the purpose of a Singleton is not so much to stay cached in
> memory but to disallow multiple instances of its-self to ever be
> instantiated at any point in time. What this buys you is that, say you have
> multiple concurrent users all using trying to use the same object, the
> Singleton pattern will make sure that they all share the same instance
> instead of a new instance for each user. Does this make since or am I way
> off here?
> 
> -Scott-

You are right on, but it also retains a reference to itself which should
cause it to not get GC'd...

-jon



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

Reply via email to