摘要:
bean的作用范圍: bean標簽中有scope屬性來指定: singleton(siNGɡ?lt(?)n):單例模式 只創建一次 一致存在下去 prototype(?prōd??tīp):多例模式 每次使用都會重新創建 bean生命周期中的兩個方法(bean標簽屬性): init-method: 閱讀全文
posted @ 2020-08-31 17:42
聲微飯否
閱讀(142)
評論(0)
推薦(0)
2020年8月31日 #
2020年8月26日 #
2020年8月18日 #
2020年8月17日 #
2020年8月13日 #
2020年8月12日 #
2020年8月11日 #
2020年8月10日 #
2020年8月7日 #