Skip to main content
Run any Skill in Manus
with one click

bean-registration

Stars8
Forks4
UpdatedJuly 15, 2026 at 20:18

Register beans programmatically in Spring Framework 7 with the BeanRegistrar interface — pick or configure beans at startup from properties/environment/conditions, with a clean lambda API and AOT support. Use when a task in a Boot 4 / FW 7 project needs DYNAMIC bean definitions — "register a bean based on a property", conditional wiring the @Conditional annotations can't express, plugin/strategy selection, or the user reaches for BeanDefinitionRegistryPostProcessor / BeanFactoryPostProcessor / ImportBeanDefinitionRegistrar — even if the user never mentions a version (check the build file). Do NOT use for ordinary static beans (just use @Bean/@Component) or for simple on/off toggles that @ConditionalOnProperty already handles.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly