cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: How do I declare a POJO generator?
Date Wed, 03 Jan 2007 12:18:16 GMT
Leszek Gawron schrieb:
> <bean name="org.apache.cocoon.generation.Generator/partners"
> class="xxx.mobileapi.generation.PartnerGenerator">
>   <property name="syncDataProvider" ref="partnerService"/>
> </bean>
> 
> Is this enough? I probably need to make it protype scope right?
> 
Yes, this is enough and yes, scope prototype should be added.

Carsten

-- 
Carsten Ziegeler - Chief Architect
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/


Mime
View raw message