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

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

javascript - Handling constructor related functions while testing with mocha and sinon -