flex与spring集成

services-config.xml
定义spring factory
<factories>
     <factory id="spring" class="flex.factories.SpringFactory"/>
</factories>

remoting-config.xml
使用spring factory
    <destination id="userService">
    <properties>
        <factory>spring</factory>
        <source>userService</source>
    </properties>
   </destination>

flex.factories.SpringFactory的实现源码见文件

你可能感兴趣的:(spring,xml,Flex)