Spring---------- 註解注入

  註解:就是一個類,使用@註解名稱 開發中:使用註解 取代 xml配置文件。     6.4.1 @Component @component取代<bean class=""> 6.4.2 @Component("id") 取代 <bean id="" class=""> 6.4.4 web開發,提供3個@Component註解衍生註解(功能一樣)取代<bean class=""> @Reposi
相關文章
相關標籤/搜索