Java using @value to construct a member field size

前端 未结 0 948
时光取名叫无心
时光取名叫无心 2021-02-03 12:26

I am using guava cache where I want to keep maximum size configurable. I tried using @value for this but the problem is private member cache gets created before @value injection

相关标签:
回答
  • 消灭零回复
提交回复
热议问题