日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

Spring文档阅读之Core Technologies

發布時間:2023/12/19 综合教程 25 生活家
生活随笔 收集整理的這篇文章主要介紹了 Spring文档阅读之Core Technologies 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Spring核心技術文檔

IOC(Inversion Of Controller)

1.The IoC Container

IOC可以理解為對象通過構造方法或者工廠方法定義依賴的對象(Spring中稱為Bean)。

IOC最底層的包是OC容器的基礎包是org.springframework.beans和org.springframework.context:

包名 功能
org.springframework.beans 操作JavaBean的接口和類
org.springframework.beans.annotation 僅有一個類AnnotationBeanUtils(可將注解的屬性復制到類中)
org.springframework.beans.factory Spring IOC功能的核心包
org.springframework.beans.factory.annotation 提供注解配置Bean的功能
org.springframework.beans.factory.aspectj 僅有一個ConfigurableObject接口(將類標記為需要通過切面進行依賴注入)
org.springframework.beans.factory.config SPI接口和BeanFactory配置相關的工具類
org.springframework.beans.factory.groovy 提供對于groovy定義的Bean的支持
org.springframework.beans.factory.parsing 支持Bean定義的解析功能
org.springframework.beans.factory.serviceloader Java6 新增的serviceloader功能的支持
org.springframework.beans.factory.support 支持org.springframework.beans.factory包的功能
org.springframework.beans.factory.wiring
org.springframework.beans.factory.xml 主要包含一個抽象的基于xml定義的BeanFactory實現
org.springframework.beans.propertyeditors Spring用于將字符串轉換成Java對象屬性的工具類
org.springframework.beans.support Bean的工具類,比如對于Bean的分類和容器
org.springframework.context 基于beans包,提供對于消息資源和觀察者模式的支持,并且使容器內對象可以使用統一的工具獲取資源
org.springframework.context.annotation 提供對于Application context的注解支持,包括組件掃描,基于Java元數據(注解)創建Spring管理的對象
org.springframework.context.annotation.aspectj 僅有一個類SpringConfiguredConfiguration,可以為@Configurable注釋的非Spring管理對象提供依賴注入
org.springframework.context.config 支持引用上下文配置,主要使用xml配置
org.springframework.context.event 對于Spring事件(比如監聽器)的支持
org.springframework.context.expression Bean的工具類,比如對于Bean的分類和容器
org.springframework.context.i18n Bean的工具類,比如對于Bean的分類和容器
org.springframework.context.index Bean的工具類,比如對于Bean的分類和容器
org.springframework.context.index.processor Bean的工具類,比如對于Bean的分類和容器
org.springframework.context.support Bean的工具類,比如對于Bean的分類和容器
org.springframework.context.weaving Bean的工具類,比如對于Bean的分類和容器

[1]: spring beans源碼解讀之--總結篇
[2]: java之元數據(metadata)

總結

以上是生活随笔為你收集整理的Spring文档阅读之Core Technologies的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。