spring註解中@component

                             spring註解中@component spring註解中@component就是bai說把這個類交給Spring管理,du又一次起個名字叫zhiuserManager,因爲不清楚這個類是屬於哪個dao層面,所以就用@Component。 因爲在持久層、業務層和控制層中,分別採用@Repository、@Service和@Controlle
相關文章
相關標籤/搜索