项目启动之后进行一些初始化的方法
摘要:
@PostConstruct注解注释的方法 xml中配置如下方式 <bean id="InitDemo" class="com.xxx.InitDemo" scope="singleton" init-method="init"> </bean> 或者实现InitiallizingBean,在art 阅读全文
posted @ 2019-06-05 17:11 敲代马 阅读(201) 评论(0) 推荐(0)
浙公网安备 33010602011771号