Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当相同的 bean 采用 id 和 name,同时具有不同的值时,Spring 是否提供了确定性的行为?
一个 bean 只能有一个名称,但可以有多个名称或别名。你说的优先级是什么意思?在哪种情况下可以应用任何类型的优先级?