Refactor Your Way to a Dependency Injection Container

The way I understand those terms, dependency lookup does not (on its own) invert any control. Service Locator, to be specific, is not a kind of Inversion of Control at all. Service Locator misses the point entirely of Inversion of Control, although it does at least remove some duplication.