28 lines
1.3 KiB
XML
28 lines
1.3 KiB
XML
<?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:context="http://www.springframework.org/schema/context"
|
|
xmlns:reg="http://www.dangdang.com/schema/ddframe/reg" xmlns:job="http://www.dangdang.com/schema/ddframe/job"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context.xsd
|
|
http://www.dangdang.com/schema/ddframe/reg
|
|
http://www.dangdang.com/schema/ddframe/reg/reg.xsd
|
|
http://www.dangdang.com/schema/ddframe/job
|
|
http://www.dangdang.com/schema/ddframe/job/job.xsd
|
|
">
|
|
<context:component-scan base-package="com.fangjia.job" />
|
|
|
|
<beans profile="dev">
|
|
<context:property-placeholder location="classpath:application-dev.properties" />
|
|
</beans>
|
|
|
|
<beans profile="test">
|
|
<context:property-placeholder location="classpath:application-test.properties" />
|
|
</beans>
|
|
|
|
<beans profile="prod">
|
|
<context:property-placeholder location="classpath:application-prod.properties" />
|
|
</beans>
|
|
|
|
</beans> |