Hi,
I have a SimpleConfig bean in config/Coldspring.xml
<bean id="RoutingCodesForLeterTypes" class="
ModelGlue.Bean.CommonBeans.SimpleConfig">
<property name="Config">
<map>
<entry key="a"><value>b</value></entry>
</map>
</property>
</bean>
and I would like to access this from within a gateway which I am auto-wiring
in controllers using:
<bean id="lettersGateway" factory-bean="ormService"
factory-method="createGateway">
<constructor-arg name="objectAlias">
<value>LetterReport</value>
</constructor-arg>
</bean>
I don't seem to know how to access the config bean from this gateway. I
tried adding setRoutingCodesForLeterTypes in the gateway, but as expected
didn't work.
Any ideas ?
Thanks,
Roland
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --