cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject RE: [c2] Implementation advice needed!
Date Sun, 02 Sep 2001 15:27:11 GMT
> > 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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message