动态的装配bean,注入到Controller中

a93654 17 0 RAR 2019-04-13 06:04:38

有时候根据需求会动态的装配bean,注入到Controller中,现在提供两种方式: 一、xml文件配置方式,ApplicationContext.xml 二、@PostConstruct注解方式

用户评论
请输入评论内容
评分:
暂无评论