摘要:
spring5 自定义脚本开发步骤 1 定义bean public class User { private String id; private String userName; private String email; private String password; public Strin 阅读全文
posted @ 2024-02-21 22:02
zgcy123456
阅读(26)
评论(0)
推荐(0)
摘要:
如果自定义实现了BeanFactoryPostProcessor接口,那么想让spring识别到的话,有两种方式: 1 定义在spring的配置文件中,让spring自动识别 代码实现如下: 定义实现BeanFactoryPostProcessor接口 的类 MyBeanFactoryPostPro 阅读全文
posted @ 2024-02-21 22:02
zgcy123456
阅读(18)
评论(0)
推荐(0)