spring相关知识

IOC spring读取配置或注解的过程 1:先通过扫描指定包路径下的spring注解,比如@Component、@Service、@Lazy @Sope等spring识别的注解或者是xml配置的属性(通过读取流,解析成Document,Document)然后spring会解析这些属性,将这些属性封装到BeanDefintaion这个接口的实现类中. 在springboot中,我们也可以采用注解配
相关文章
相关标签/搜索