Constructor Dependency Injection ...... eh?
I am about to start some serious J2EE stuff and plan to use the Spring framework to help me glue it all together.
To this end I am reading Pro Spring, which is a big fat book on the subject. In chapter four I came across the following paragraph.
Constructor Dependency Injection
Constructor Dependency Injection is Dependency Injection where a component's dependencies are provided to it in its constructor(s). The component declares a constructor or a set of constructors taking as arguments its dependencies, and the IoC container passes the dependencies to the component when it instantiates it as show in Listing 4-4.
If I put the paragraph through the Babelfish translator into Greek it comes out like this:
I don't know about you but I feel a bit better now.