spring.spring-default.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <!--经测试,此处不能省略,原因不详--> <!--外部项目需要配置com.sunny.environment.Environment类--> <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations" value="#{environment.locations}"/> <property name="ignoreUnresolvablePlaceholders" value="true"/> </bean> <import resource="spring-default-cache.xml"/> <import resource="../../../doc/spring-default-captcha.xml"/> <import resource="spring-default-datasource.xml"/> <import resource="spring-default-mail.xml"/> <import resource="spring-default-quartz.xml"/> <import resource="spring-default-redis.xml"/> <import resource="spring-default-thread-pool.xml"/> <import resource="spring-default-upload.xml"/> </beans>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy