<?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:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd"> <!-- <bean id="FileSystemConfig" class="com.rtrh.common.modules.filesystem.FileSystemConfig">--> <!-- <property name="tempRepository" value="F:\\projects\\FileRepository\\~TempRepository" />--> <!-- <property name="officialRepository" value="F:\\projects\\FileRepository\\OfficialRepository" />--> <!-- </bean>--> <bean id="FileSystemConfig" class="com.rtrh.common.modules.filesystem.FileSystemConfig"> <property name="tempRepository" value="D:\\svn\\logs\\xingjiang\\projects\\FileRepository\\~TempRepository" /> <property name="officialRepository" value="D:\\svn\\logs\\xingjiang\\projects\\FileRepository\\OfficialRepository" /> </bean> <bean id="FileFactory" class="com.rtrh.common.modules.filesystem.FileFactory"> <property name="fileSystemConfig" ref="FileSystemConfig" /> </bean> <bean id="FileManager" class="com.rtrh.common.modules.filesystem.service.FileManagerImpl"> <property name="fileFactory" ref="FileFactory" /> </bean> </beans>