spring中bean的构造函数,Autowired(Value)注入与@PostConstruct调用顺序
最近在项目开发中遇到这样一个需求,由于元数据在短时间内被客户端多次读取,因此希望直接将数据存储到内存,以减少网络开销,借助guavacache于是有了下面这个类/***Createdon2018/10/18*/@ComponentpublicclassCacheUtil{@AutowiredCaseGraphServicecaseGraphService;@Value("${cache.expir