Tag

BeanDefinition

1 views collected around this technical thread.

Top Architect
Top Architect
Oct 18, 2020 · Backend Development

Understanding Spring @Enable Annotation Logic and the Role of ConfigurationClassPostProcessor

This article explains how Spring's @Enable annotations are driven by @Import, walks through the entry points in spring.handlers, details the processing flow of ConfigurationClassPostProcessor, distinguishes full and lightweight configuration modes, and describes the CGLIB enhancement that ensures proper @Bean method semantics.

@EnableBeanDefinitionCGLIB
0 likes · 10 min read
Understanding Spring @Enable Annotation Logic and the Role of ConfigurationClassPostProcessor
Java Captain
Java Captain
Jul 8, 2019 · Backend Development

Understanding Spring Bean Definition Registration Mechanisms

This article explains how Spring registers bean definitions through various mechanisms such as BeanDefinitionRegistryPostProcessor, BeanFactoryPostProcessor, annotations, XML, @Import, ImportSelector and ImportBeanDefinitionRegistrar, using analogies and code examples to illustrate the process.

BeanDefinitionDependencyInjectionbackend
0 likes · 13 min read
Understanding Spring Bean Definition Registration Mechanisms
Java Captain
Java Captain
Jul 5, 2019 · Backend Development

Understanding Spring BeanDefinition: Core Concepts, Interfaces, and Practical Examples

This article explains the fundamental role of Spring's BeanDefinition as the core data structure that records all bean metadata, compares it to real‑world analogies, lists the key BeanDefinition interface methods, demonstrates registration via annotations and @Bean methods, and shows how to inspect bean definitions at runtime.

BeanDefinitionDependencyInjectionannotations
0 likes · 11 min read
Understanding Spring BeanDefinition: Core Concepts, Interfaces, and Practical Examples