Spring动态注册FXML为Prototype Bean

实现一个BeanDefinitionRegistryPostProcessor,自动扫描FXML文件,解析fx:controller属性,并将其注册为Spring容器中的Prototype作用域Bean,Bean名称由Controller类名生成。

ECNU-ICALK Updated 559 repo stars

File contents

ECNU-ICALK/AutoSkill/tree/main/SkillBank/ConvSkill/chinese_gpt4_8/spring动态注册fxml为prototype-bean commit 577157c85a

Frequently asked questions

npx skillmds@latest add ecnu-icalk/spring-fxml-prototype-bean