File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
spring-profile/src/resources Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments