转 Flex+Spring配置
?
- <listener> <listener-class>
- <bean id="topoMapViewService" parent="baseTransaction"> <property name="target"> <bean ref="topoMapDao" /> <property name="linkInfoDao" ref="linkInfoDao" /> </bean> </property> </bean>
??? 3、然后需要配置
- <factories> <factory id="spring" src="/img/2012/09/23/17514610210.gif">
- package com.jeffrey.nms.web.topo;import org.springframework.context.ApplicationContext;import org.springframework.web.context.support.WebApplicationContextUtils;import org.springframework.beans.BeansException;import org.springframework.beans.factory.NoSuchBeanDefinitionException;import
??? 4、本人做
- <destination id="topoMap"> <properties> <factory>spring</factory> <source>topoMapViewService</source> </properties> </destination>
???? 这样topoMap可以在?? 这样flex+spring配置即完成。