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.
基本上@Autowire 和@Configurable 做同样的事情。这两个注释有什么区别?
请原谅我。
@Configurable允许您在@Autowire用于注入显式定义的 bean 时在没有显式 bean 定义的情况下注入依赖项。
@Configurable
@Autowire