spring相關知識

IOC spring讀取配置或註解的過程 1:先通過掃描指定包路徑下的spring註解,比如@Component、@Service、@Lazy @Sope等spring識別的註解或者是xml配置的屬性(通過讀取流,解析成Document,Document)然後spring會解析這些屬性,將這些屬性封裝到BeanDefintaion這個接口的實現類中. 在springboot中,我們也可以採用註解配
相關文章
相關標籤/搜索