We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25725d7 commit 825a371Copy full SHA for 825a371
spring-profile/src/resources/spring-config-all.xml
@@ -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
17
+ <property name="id" value="2" />
18
+ <property name="name" value="pro-person" />
19
20
21
+</beans>
0 commit comments