How to set uvm_config_db for multiple instances.?

In reply to Aparna Elango:

I have created a sample example at EDAPlayground. This is similar to your requirement.

Using the above sample, I create instances of interfaces and pass them to TB.