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.
我不确定这是否受支持,但想基于类常量创建带有 id 的 bean。我的计划 b 是通过 setter 将 bean 注入到一个类中,并通过 IOC 处理它们。
谢谢!