applicationContext.xml 1.3 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:context="http://www.springframework.org/schema/context"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
  5. xmlns:cache="http://www.springframework.org/schema/cache" xmlns:util="http://www.springframework.org/schema/util"
  6. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
  7. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd
  8. http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
  9. <!-- 注册spring上下文对象 -->
  10. <bean class="com.uas.platform.home.core.support.ApplicationContextRegister" />
  11. <!-- 扫描注解 -->
  12. <context:annotation-config />
  13. <!-- 扫描的包 -->
  14. <context:component-scan base-package="com.uas.platform.home" />
  15. <!-- 账户中心配置 -->
  16. <bean id="accountConfigurer" class="com.uas.account.web.AccountConfigurer"
  17. init-method="init">
  18. <property name="configPath" value="classpath:conf/account.properties" />
  19. </bean>
  20. <util:properties id="url"
  21. location="classpath:conf/httpAddress.properties" />
  22. </beans>