java - Spring @Value To Data Structure -


my properties file

customer1.username = ""; customer1.passwword =""; customer1.integratorkey=""  customer2.username = ""; customer2.passwword =""; customer2.integratorkey="" 

is there way can use @value annotation , load value in data structure 6 values in it

java code @value annotation:

 @value("${customer1.username}")  private string customer1username; 

Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

python - How to read gradle build progress from it's output? -

c# - How do I debug "System.DllNotFoundException: The specified procedure could not be found"? -