Spring思维导图
2022-10-07 09:29:25 0 举报
AI智能生成
登录查看完整内容
spring
作者其他创作
大纲/内容
基于POJO的轻量级和最小侵入性编程
通过依赖注入和面向接口实现松耦合
基于切面和惯例进行声明式编程
通过切面和模板减少样板式代码
四种关键策略
Beans
Core
Context
Expression
Context support
Core Spring Container
AOP
Aspects
Instrument
Instrument Tomcat
Instrumentation
JDBC
OXM
Transaction
ORM
JMS
Data access & intergration
Web
Servlet
Portlet
Struts
Web and remoting
Test
Testing
六大模块
Spring模块
概述
IOC
BeforeAdvice
AfterThrowingAdvice
AfterReturningAdvice
AroundAdvice
Advice(四种切面类型)
常规配置
正则表达式配置
Pointcut
Advisor
自动创建proxy
结合advice和pointcut
分开advice和pointcut
切入点表达式
AspectJ
JavaConfig特性
ClassPathXmlApplicationContext
FileSystemXmlApplicationContext
XmlWebApplicationContext
与上下文共事
初始化
销毁
Bean的生命周期
singleton(默认)
prototype
request
session
globalSession
Bean的作用域
no(默认)
byName
byType
constructor
autodetect
自动装配
一般方法
缩写方法
P方法
Bean属性
<ref bean="someBean"/>
<ref local="someBean"/>
Bean引用
一般引用
声明内部Bean
构造函数内部Bean
InnerBean
List
Set
Map
Properties
SpringCollections
装配NULL值
p装配属性
注入Bean属性
字面值
引用Bean、Properties和方法
操作类
基本原理
运算符
数值运算
比较值
逻辑表达式
条件表达式
正则表达式
在值上进行操作
访问集合成员
查询集合成员
投影集合
在SpEL中筛选集合
SpEL
Bean
@component
@Repository
@Service
@Controller
组件类型(四种)
include
exclude
自动扫描过滤
自动扫描组件
JNDI查找的数据源
连接池数据源
JDBC驱动程序定义的数据源
配置数据源
数据库
Spring
0 条评论
回复 删除
下一页