rtrh-filesystem.xml 1.5 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
  4. xmlns:context="http://www.springframework.org/schema/context"
  5. xsi:schemaLocation="
  6. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
  7. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
  8. <!-- <bean id="FileSystemConfig" class="com.rtrh.common.modules.filesystem.FileSystemConfig">-->
  9. <!-- <property name="tempRepository" value="F:\\projects\\FileRepository\\~TempRepository" />-->
  10. <!-- <property name="officialRepository" value="F:\\projects\\FileRepository\\OfficialRepository" />-->
  11. <!-- </bean>-->
  12. <bean id="FileSystemConfig" class="com.rtrh.common.modules.filesystem.FileSystemConfig">
  13. <property name="tempRepository" value="D:\\svn\\logs\\xingjiang\\projects\\FileRepository\\~TempRepository" />
  14. <property name="officialRepository" value="D:\\svn\\logs\\xingjiang\\projects\\FileRepository\\OfficialRepository" />
  15. </bean>
  16. <bean id="FileFactory" class="com.rtrh.common.modules.filesystem.FileFactory">
  17. <property name="fileSystemConfig" ref="FileSystemConfig" />
  18. </bean>
  19. <bean id="FileManager" class="com.rtrh.common.modules.filesystem.service.FileManagerImpl">
  20. <property name="fileFactory" ref="FileFactory" />
  21. </bean>
  22. </beans>