Re: Two instances of the same class, different properties, is it possible?

2019-02-18 Thread Stephan Classen
Could you give some more details. Best would be some code example Am 18. Februar 2019 22:16:20 MEZ schrieb jhertz : >I have two instances of the same class. I want to inject them with two >different set of properties in the form of a Map. The >instances are read dynamically from and XML file so

Two instances of the same class, different properties, is it possible?

2019-02-18 Thread jhertz
I have two instances of the same class. I want to inject them with two different set of properties in the form of a Map. The instances are read dynamically from and XML file so I won't know until run time if there are 1, 2 or X amount of instances. Is this possible? Regards jhz -- You