def register_in_service_locator(self):

        ServiceLocator.register_component(self.COMPONENT_NAME, self)  # Defined in subclasses
Register the current component in the service locator. The subclass must define a COMPONENT_NAME
dataset/ETHPy150Open owtf/owtf/framework/dependency_management/dependency_resolver.py/BaseComponent.register_in_service_locator