cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: JXTemplate is broken by implementing Recycable interface
Date Wed, 10 Oct 2007 15:38:24 GMT
Leszek Gawron wrote:
> Joerg Heinicke wrote:
>> On 10.10.2007 4:45 Uhr, Leszek Gawron wrote:
>>
>>> 2. Look at SitemapModelComponent:
>>
>>>>     void setup(SourceResolver resolver, Map objectModel, String src, 
>>>> Parameters par)     throws ProcessingException, SAXException, 
>>>> IOException;
>>>> }
>>>
>>> It looks like we could drop the source resolver and objectModel. Both 
>>> can be injected and AFAIU both are properly scoped with some custom 
>>> scope of ours.
>>
>> But that's an interface and the method is probably called by the 
>> pipeline. You still have to support both Avalon and Spring and need at 
>> least a migration path in the pipeline.
> 
> Of course not now but that is just a pointer that spring invalidates 
> somehow this interface.

May be a bit of RT, but would it be possible to replace this interface with 
pipeline scope and injection of parameters. Resolver and object model already 
can be injected, IIUC. Same could be extended to source and parameters. WDYT?

Vadim

Mime
View raw message