I know that I can create objects from properties
file line properties.
I'd like to get a dynamic array of objects, something like this.
application.properties
heroes.hero1=1,superman,kent
heroes.hero2=2,batman,wayne
Let's say that sometime somebody will add another hero to the file. Is it possible for spring to automatically understand additions to array of heroes? Is there a solution to this? Or is it just easier to read and construct such objects from txt files.