Skip to content

Commit 01ce219

Browse files
committed
add Spring profile 的例子 使得容器根据不同的环境选择不同的bean
add JavaConfig类 @Profile的用法 add XML配置文件 <beans profile="...">的用法 Spring 3.1可以使用@Profile注解来修饰JavaConfig类 Spring 3.2之后,则可以在函数级别使用@Profile注解
1 parent b21b5e5 commit 01ce219

File tree

16 files changed

+2
-0
lines changed

16 files changed

+2
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Chapter_02/profiles/.gradle/4.10.3/gc.properties

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)