Spring
Java · 28 notes
- Spring Framework Learning Resourceshistorical
A roadmap from dependency injection and bean lifecycle through AOP, transactions, MVC, Boot, and source-code reading.
- Spring Framework Moduleshistorical
A conceptual map of Spring Core/Beans/Context, AOP, data/transactions, web MVC/reactive, testing, and integration modules.
- Spring Application Events and Listenershistorical
Spring application-event publication, listener execution, transactions, asynchrony, and coupling considerations.
- Spring Bean Scopeshistorical
Singleton, prototype, request/session and other Spring bean scopes, including lifecycle and thread-safety implications.
- Using Spring AOPhistorical
Pointcuts, advice, proxies, aspect ordering, and the self-invocation limitation of proxy-based Spring AOP.
- Using Spring IoChistorical
Dependency injection through components/configuration with constructor injection, explicit dependencies, and container-managed lifecycle.
- How Spring Autowiring Workshistorical
Dependency resolution by type/qualifier/name metadata and the BeanPostProcessor infrastructure behind annotation injection.
- Spring Transaction Source Architecturehistorical
Proxy/interceptor transaction flow from metadata lookup to transaction manager begin/commit/rollback.
- Spring Bean Lifecyclehistorical
From bean definition and instantiation through dependency injection, post-processors, initialization, proxies, use, and destruction.
- What Spring AOP Ishistorical
Spring's proxy-based aspect-oriented programming model: join points, pointcuts, advice, aspects, and proxies.
- What Spring IoC Ishistorical
Inversion of Control and dependency injection as moving object construction/wiring policy from business classes to a container.
- 2.47 Spring常用注解historical
注解作用 @Configuration 相当于之前的applicationContext.xml,就是一个配置文件 @ComponentScan 配置扫描包,如果有@Controller,@Service,@Repositiry,@Component修饰的,则把它加入ioc容器中 @Bean 配合@
- Spring Transaction Propagationhistorical
REQUIRED, REQUIRES_NEW, NESTED and other propagation modes as policies for existing versus new transaction contexts.
- Spring BeanFactoryhistorical
BeanFactory as Spring's dependency-container contract and its relationship with ApplicationContext.
- Using Spring Transactionshistorical
Declarative transaction boundaries, rollback rules, proxy limitations, isolation, timeouts, and external side effects.
- Spring Circular Dependencieshistorical
Constructor versus setter/field cycles, early references, proxy complications, and why redesign is usually preferable.
- Ordering Spring Bean Initializationhistorical
How to express real bean dependencies instead of relying on incidental initialization order.
- Spring IoC Source: Creating the Application Contexthistorical
High-level ApplicationContext refresh flow from environment/bean definitions through post-processors and singleton initialization.
- Spring IoC Source: BeanFactoryPostProcessor Phasehistorical
How BeanFactoryPostProcessor customizes bean definitions/container metadata before ordinary bean instantiation.
- Spring IoC Source: Registering BeanPostProcessorshistorical
Why BeanPostProcessors must be registered before ordinary singleton creation and what lifecycle extension they provide.
- Spring IoC Source: Instantiating Non-Lazy Singletonshistorical
How Spring resolves bean dependencies, creates singleton instances, applies lifecycle processors, and caches exposed objects.
- Spring IoC Class Relationshipshistorical
A conceptual map of Spring container interfaces and extension points rather than a version-frozen UML diagram.
- Spring AOP Source: Registering the Auto-Proxy Creatorhistorical
How annotation-driven AOP enables an auto-proxy BeanPostProcessor, described as versioned Spring internals.
- Spring AOP Source: Creating the Auto-Proxy Creatorhistorical
Lifecycle of Spring's AOP auto-proxy creator as an infrastructure bean and BeanPostProcessor.
- Spring AOP Source Analysis Summaryhistorical
End-to-end Spring AOP model from infrastructure registration and advisor discovery to proxy creation and interceptor invocation.
- Spring AOP Source: When Auto-Proxying Runshistorical
Where auto-proxy creation participates in the bean lifecycle and why early references matter for some dependency graphs.
- Spring AOP Source: Creating the Proxyhistorical
Advisor matching and creation of JDK-interface or class-based proxies around eligible Spring beans.
- Spring AOP Source: Invoking the Target Methodhistorical
Interceptor-chain execution around a proxied target method and how proceed composes advice.