cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: thread safety of cocoon
Date Tue, 02 Sep 2003 06:50:10 GMT
Ralph Goers wrote:
> 
> If I have a generator that is defined as ThreadSafe and it is configured
> twice in the generator section of the sitemap, will two instances 
> be created
> or one?
> 
You get two instances as you define two different components. But please
notice, that you can't make a generator ThreadSafe. In general, because
of the sax streaming you can make the pipeline components (generators,
transformers and serializers - and also readers) only poolable. 
Have a look at the current implementations.

Carsten

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


Mime
View raw message