cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Antwort: Re: Antwort: Re: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/source/impl
Date Tue, 28 Oct 2003 18:40:45 GMT

> wrote:

>>Hi Geoff,
>>I think the reason is, that the PartSourceFactory isn't ThreadSafe. So
>>every time you access a PartSourceFactory a new Component is created and
>>the contextualize Method is called.
>Ah, I hadn't noticed this.  Still, does that explain why it's called
>twice for every request?

Yes it does ;-)
One lookup to the SourceFactory is done in
Source source = SourceResolver.resolveURI(URI);
and the second in


<snip />

View raw message