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 -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -