let mycomponent = new MyComponentA(logger);

for (let i = 0; i < 5; i++)
    mycomponent.myMethod();