An application may use multiple structured service locators purposed for particular functionality/testing. Service locator does not mandate one single static class per process The solution may be simpler with service locator (vs. dependency injection) in applications with well-structured component/service design. In these cases the disadvantages may actually be considered as an advantage (e.g. no need to supply various dependencies to every class and maintain dependency configurations)