> You answered your question yourself - when your object is a
> singleton it is created when getInstance() is called, this is
> the first time any service is requested from your object.

Ok, I was familiar with this pattern.

> and the pattern guarantees that System will be always 
> initialized, once per life of the VM.

Great, this is the part I was missing! I come from a C++ background,
and am not really strong in Java, the JVM, etc.

> Rafal

Thanks,


-- 
Gonzalo A. Diethelm
[EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to