cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <>
Subject Re: thread safety of cocoon
Date Mon, 01 Sep 2003 13:50:11 GMT
How a particular component is created depends on the Avalon interface that
it implements.
There are several lifecycle interfaces that can be used, e.g.: Poolable,
Cachable, ThreadSafe (I don't remember details). I'm sure you'll find
something that fits your needs, just take a look at Avalon docs and at
Cocoon sources.

Maybe some Avalon guru's could give more details on this.

-- Konstantin

----- Original Message ----- 
From: "Jorg Heymans" <>
To: <>
Sent: Monday, September 01, 2003 17:30
Subject: thread safety of cocoon

> Say i write my own transformer (or serializer, or generator doesn't
> is it true then that a new instance of my custom class is created each
> it is executed in a pipeline? (uncached)
> My code relies on a few instance variables (simple ones like Logger but
> more crucial ones like StringBuffers for SAX parsing ), I'ld really hate
> find out now that instance variables aren't thread safe in cocoon.
> Any (relieving) comments?
> Jorg
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message