Tag

ImportSelector

0 views collected around this technical thread.

Sanyou's Java Diary
Sanyou's Java Diary
Feb 27, 2022 · Backend Development

How @Enable Annotations Power Spring Modules – Deep Dive into @EnableAsync

This article explains the inner workings of Spring's @Enable annotations, detailing how @Import processes configuration classes, the roles of ImportSelector and ImportBeanDefinitionRegistrar, and using @EnableAsync as a concrete example to illustrate module activation.

AsyncBeanPostProcessorEnableAnnotation
0 likes · 7 min read
How @Enable Annotations Power Spring Modules – Deep Dive into @EnableAsync
Java Architecture Diary
Java Architecture Diary
Jan 15, 2020 · Backend Development

Mastering @Import in Spring: Dynamic Routes and Custom Bean Registration

This article explains how the @Import annotation in the pig4cloud framework can be used to import components, implement dynamic routing, and register beans via ImportSelector and ImportBeanDefinitionRegistrar, providing concise architecture and easy activation of OAuth resource servers.

@ImportDynamic RouteImportBeanDefinitionRegistrar
0 likes · 4 min read
Mastering @Import in Spring: Dynamic Routes and Custom Bean Registration