cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: spring prototype beans and access to current request data
Date Mon, 07 Apr 2008 17:06:46 GMT
On Apr 7, 2008, at 11:57 AM, yduchesne wrote:
> I want to implement a custom SourceFactory that will require access  
> to the
> "object model" (holding the request, response, etc.).
> Contrary to sitemap components, the SourceFactory interface does not  
> provide
> a way to receive the object model as an argument. I have read about
> potentially implementing my factory in Avalon, but I would much prefer
> sticking to Spring since I am working with 2.2 and it seems to be the
> favored approach from now on.
> How could my SourceFactory be provided with the "current" object  
> model (the
> one corresponding to the current request)?

You can use ProcessInfoProvider bean:


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

View raw message