cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Piéroni <raphael.pier...@aql.fr>
Subject Re: [cocoon 2.2] Spring configuration of transformers
Date Wed, 12 Sep 2007 07:13:07 GMT
Grzegorz Kossakowski a écrit :
> Raphaël Piéroni pisze:
>   
>> Hi Guys,
>>
>>
>> I have a transformer defined in the sitemap.xmap.
>>     
>
> Is it your own transformer?
>   
Yep, IIRC, we also have some custom generators.
>   
>> And this transformer have to access the database (DAO w/ transaction)
>> that is defined with spring.
>> But i can't manage to link the 2 information.
>>     
>
> Is this transformer a Spring bean? Do you want to inject Spring bean (a DAO) into some
property of
> transformer?
>   
Yup i try to inject the service wrapper arround the DAOs (with 
transaction - spring aop) in a field transformer/generator
>   
>> Is there any documentation or example?
>>     
>
> Nope, but it's on my TODO list (WARNING: it's already long) to write migration guide
for migrating
> from Avalon to Spring.
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message