home/categories/backend/ecnu-icalk-autoskill-skillbank-convskill-chinese-gpt4-8-spring动态注册fxml为prototype-bean-skill-md
quick start
Installation and usage
实现一个BeanDefinitionRegistryPostProcessor,自动扫描FXML文件,解析fx:controller属性,并将其注册为Spring容器中的Prototype作用域Bean,Bean名称由Controller类名生成。
インストール
$ install --globalskills.sh
使い方
インストール後、ターミナルで以下のコマンドを実行してこのスキルを使用できます:
skills use springfxmlprototype-bean