Reputation: 1
How can I inject value in a static final field from application.properties file
Injecting in just static field is possible but injecting in static final field, how it can be achieved
@Value and System.getenv do not work.
Upvotes: -1
Views: 56
Reputation: 20544
There is no simple reliable way to achieve that.
I suggest you to redesign your code.
Upvotes: 1