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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -