Spring Flex 整合 配置

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xmlns:p="http://www.springframework.org/schema/p"
	xmlns:context="http://www.springframework.org/schema/context"
	xmlns:flex="http://www.springframework.org/schema/flex"
	xsi:schemaLocation="http://www.springframework.org/schema/beans 
                           http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://www.springframework.org/schema/context 
                           http://www.springframework.org/schema/context/spring-context.xsd
                           http://www.springframework.org/schema/flex
                           http://www.springframework.org/schema/flex/spring-flex-1.0.xsd
						   http://www.springframework.org/schema/tx 
						   http://www.springframework.org/schema/tx/spring-tx.xsd
                           ">

	<context:component-scan base-package="org.springbyexample.web.service" />
	<flex:message-broker />
	<flex:remoting-destination ref="rankingDao" />
	<flex:remoting-destination ref="rankingService" />
	<flex:remoting-destination ref="rechargeDao" />
	<flex:remoting-destination ref="rmiFunCardService" />
	<flex:remoting-destination ref="btwService" />
</beans>

猜你喜欢

转载自xiongjiajia.iteye.com/blog/1668731