Inversion of Control Containers and the Dependency Injection Pattern¶
Fowler, M. (2004). Inversion of Control Containers and the Dependency Injection Pattern. martinfowler.com.
Cited by¶
3 citations across 3 artifacts.
Each citation links to the sentence it supports in the citing article.
Mechanisms¶
- Callback Registration
- The Hollywood principle — "don't call us, we'll call you" — captures exactly this relief.
This sourceThe cited work establishes The Hollywood principle and "don't call us, we'll call you".
- The Hollywood principle — "don't call us, we'll call you" — captures exactly this relief.
- Dependency Handle Registry
- The honest failure mode is that the registry can become the very thing it replaced — a global service locator that units reach into implicitly, turning it into a hidden ambient dependency of its own and obscuring what a unit actually needs
This sourceShows that a registry can act as a Service Locator and make a unit's required services harder to see.
- The honest failure mode is that the registry can become the very thing it replaced — a global service locator that units reach into implicitly, turning it into a hidden ambient dependency of its own and obscuring what a unit actually needs
- Explicit Environment Object
- In spirit it is dependency injection by parameter rather than by lookup.
This sourceContrasts constructor injection, where dependencies are passed through parameters, with service-locator lookup.
- In spirit it is dependency injection by parameter rather than by lookup.
Verification¶
Does it exist? Not checked yet. This entry carries no identifier to resolve. It was extracted from the citation as written in the article, normalized, and deduplicated against the rest of the registry.
Does it back the claim? Not recorded. Neither this nor any other of the 3 citations of this work carries a recorded support check.
Support is checked per citation rather than per work — the same source can be cited soundly in one article and wrongly in another. Per-citation recording began recently, so a citation with no recorded check is a gap in the record rather than evidence it went unchecked.
See how references were verified.
Registry ID ref:08612e745623 · see in the full table