2025年2月26日

Spring---依赖注入问题

摘要: 配置类中,手动new 对象 @Configuration public class TestConfig { @Bean public TestInterface testInterface(){ System.out.println("init testInterface"); return bu 阅读全文

posted @ 2025-02-26 16:54 anpeiyong 阅读(12) 评论(0) 推荐(0)

导航