-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Leszek Gawron wrote: > with cocoon modes enabled for spring you can do something like this: > > in META-INF/cocoon/spring/myContext.xml: > > <bean id="myService" class="com.mycompany.MyServiceImpl"> > <property name="myDao" ref="myDao"/> > </bean> > > and then > > in META-INF/cocoon/spring/dev/daos.xml: > <bean id="myDao" class="com.mycompany.MyMockDaoImpl"/> > > in META-INF/cocoon/spring/prod/daos.xml: > <bean id="myDao" class="com.mycompany.MyActualDaoImpl"/> Cool, that's exactly what I was looking for, thanks! Ciao - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFTMGWLNdJvZjjVZARApR5AKCx4agiz7aw82ca9+nyrx3qV3w23ACfXcZE /fVEEOy316NcsWyFujw/vwA= =htGD -----END PGP SIGNATURE-----
