2021年6月16日

摘要: public interface StudentService { public void add(String studentName); } 定义一个spring的FactoryBean,FactoryBean在通过spring实例化生成的不是自己本身,而是通过调用的getObject方法返回的 阅读全文
posted @ 2021-06-16 17:13 swave 阅读(521) 评论(0) 推荐(0) 编辑
摘要: import java.io.IOException; import org.springframework.beans.factory.support.BeanDefinitionRegistry; import org.springframework.context.annotation.Cla 阅读全文
posted @ 2021-06-16 15:16 swave 阅读(269) 评论(0) 推荐(0) 编辑
摘要: org.springframework.context.annotation.ConfigurationClassPostProcessor(Bean定义的后置处理器)中,轮询BeanDefinitionRegistry中注册的所有已注册的类,找出包含Import,ComponentScan,Imp 阅读全文
posted @ 2021-06-16 14:34 swave 阅读(218) 评论(0) 推荐(0) 编辑

导航