摘要:
1. 系统初始化参数时执行的方法: implements InitializingBean 接口,重写afterPropertiesSet()方法。 1 @Controller 2 @RequestMapping("/miaosha") 3 public class MiaoshaControlle 阅读全文
posted @ 2020-05-12 17:21
蜂蜜柚子皮
阅读(562)
评论(0)
推荐(0)
摘要:
1.@PostConstruct 在该类的构造器执行完成后,执行被@PostConstruct修饰的方法。 1 @Component 2 @Slf4j 3 public class RedissonManager { 4 private Config config = new Config(); 5 阅读全文
posted @ 2020-05-12 17:15
蜂蜜柚子皮
阅读(134)
评论(0)
推荐(0)

浙公网安备 33010602011771号