cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject Re: More than one lifecycle interface
Date Tue, 18 Oct 2005 08:08:20 GMT


Sylvain Wallez wrote:

> Ralph Goers wrote:
>
>> No, but it makes sense since they each have characterstics that are 
>> incompatible with each other.
>> SingleThreaded implies that the class is a singleton and is not 
>> thread safe and should essentially be executed in a serial fashion (a 
>> huge bottleneck).
>
>
> SingleThreaded doesn't mean singleton! It means that the class is not 
> reentrant and not reusable, leading the system to create a new 
> instance each time the component is looked up. This is also the 
> default for component that implement no lifestyle interface.

Thanks.  I don't know how I botched that quiz.

Ralph

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message