Skip to content

Commit 825a371

Browse files
committed
spring-config-all.xml
spring-config-all.xml
1 parent 25725d7 commit 825a371

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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"
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans
5+
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
6+
7+
8+
<beans profile="development">
9+
<bean id="person" class="com.hmkcode.vo.Person">
10+
<property name="id" value="1" />
11+
<property name="name" value="dev-person" />
12+
</bean>
13+
</beans>
14+
15+
<beans profile="production">
16+
<bean id="person" class="com.hmkcode.vo.Person">
17+
<property name="id" value="2" />
18+
<property name="name" value="pro-person" />
19+
</bean>
20+
</beans>
21+
</beans>

0 commit comments

Comments
 (0)