一段Spring代码引起的调用绑定总结

代码 @Component public class B { void test() { System.out.println("hello"); } } @Component public class A { @Autowired private B b; public final void test() { b.test(
相关文章
相关标签/搜索