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 -

wpf - C# NAudio - Changing audio playback position still plays a small buffer of old position -

Log not being recorded for quickfix c++ Session -