摘要:
赋值的类型: String @Value("spring")SpringEL @Value("#{20-10}")读取环境变量// 引入配置文件 @Configuration @PropertySource(value={"classpath:/value.properties"}) public 阅读全文
posted @ 2020-11-16 09:04
qianbuhan
阅读(323)
评论(0)
推荐(0)
摘要:
BeanPostProcessor就是在执行初始化方法的前后进行一次后置处理。 // AbstractAutowireCapableBeanFactory protected Object initializeBean(String beanName, Object bean, @Nullable 阅读全文
posted @ 2020-11-16 08:48
qianbuhan
阅读(262)
评论(0)
推荐(0)

浙公网安备 33010602011771号