> > How can I implement with Avalon such singelton classes?
> 
> You can't.
> 
> While you can implement the ThreadSafe interface, there is nothing it its
> contract that requires the component manager to make it a singleton.

This is taken from a private mail by Berin (hope that's ok, Berin):

|The semantics used by the Avalon Excalibur Component package (which is
|what Cocoon uses) state that only one ThreadSafe Component is created
|and all lookups for the Component return a shared instance.

So I was thinking this means

  ThreadSafe = only ONE instance

So what is it now?
regards
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to