home/categories/backend/ecnu-icalk-autoskill-skillbank-convskill-chinese-gpt4-8-spring动态注册fxml为prototype-bean-skill-md
backenddevelopment

springfxmlprototype-bean

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

ECNU-ICALK
maintainer
ECNU-ICALK
更新于 2026/3/16
星标
304
分支
34
quick start

Installation and usage

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

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use springfxmlprototype-bean