本节介绍如何在 Java 代码中使用注解来配置 Spring 容器。