Component Injection
From APIDesign
(Difference between revisions)
Line 1: | Line 1: | ||
- | A generalization of [[wikipedia::Dependency_injection|injection of dependencies]] to cover also other forms of [[injection]]. Thoroughly discussed in [[Use Modular Architecture|Chapter 7]], Use Modular Architecture. One of the possible strategies includes use of [[Lookup]]. | + | A generalization of [[wikipedia::Dependency_injection|injection of dependencies]] to cover also other forms of [[injection]]. Thoroughly discussed in [[Use Modular Architecture|Chapter 7]], Use Modular Architecture. One of the possible strategies includes use of [[Lookup]], another [[Spring]], there is even an option to [[LookupAndSpring|mix them together]] or rely on JDK's own [[ServiceLoader]]. |
Revision as of 10:15, 28 April 2009
A generalization of injection of dependencies to cover also other forms of injection. Thoroughly discussed in Chapter 7, Use Modular Architecture. One of the possible strategies includes use of Lookup, another Spring, there is even an option to mix them together or rely on JDK's own ServiceLoader.