[EMAIL PROTECTED] wrote:



[EMAIL PROTECTED] 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 SourceResolver.release(source);

Ah!


Geoff



Reply via email to