mycomponent = MyComponentA(logger)
for i in range(10):
    mycomponent.mymethod()