Refactor Your Way to a Dependency Injection Container

Looking up a dependency, then using it does not invert any control, so how can you call that inversion of control? Inverting control involves letting the framework invoke your logic.

I can't see why you think I don't like external configuration. I don't always do it right away, and I think Dependency Inversion works quite well without it, but I don't *dislike* it.