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类名生成。
maintainer
ECNU-ICALK
अपडेट किया गया 16/3/2026
स्टार
304
फोर्क
34
quick start
Installation and usage
实现一个BeanDefinitionRegistryPostProcessor,自动扫描FXML文件,解析fx:controller属性,并将其注册为Spring容器中的Prototype作用域Bean,Bean名称由Controller类名生成。
इंस्टॉलेशन
$ install --globalskills.sh
उपयोग
इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:
skills use springfxmlprototype-bean