> For the complete documentation index, see [llms.txt](https://potoyang.gitbook.io/spring-in-action-v4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://potoyang.gitbook.io/spring-in-action-v4/di-3-zhang-gao-ji-zhuang-pei.md).

# 第 3 章　高级装配

本章内容：

* Spring profile
* 条件化的 bean 声明
* 自动装配与歧义性
* bean 的作用域
* Spring表达式语言

在上一章中，我们看到了一些最为核心的 bean 装配技术。你可能会发现上一章学到的知识有很大的用处。但是，bean 装配所涉及的领域并 不仅仅局限于上一章所学习到的内容。Spring 提供了多种技巧，借助它们可以实现更为高级的 bean 装配功能。

在本章中，我们将会深入介绍一些这样的高级技术。本章中所介绍的技术也许你不会天天都用到，但这并不意味着它们的价值会因此而降低。
