File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,11 @@ This chapter covers Spring's Inversion of Control (IoC) container.
10
10
== Introduction to the Spring IoC Container and Beans
11
11
12
12
This chapter covers the Spring Framework implementation of the Inversion of Control
13
- (IoC) principle. IoC
14
- is also known as dependency injection (DI). It is a process whereby objects define
15
- their dependencies (that is, the other objects they work with) only through constructor
16
- arguments, arguments to a factory method, or properties that are set on the object
17
- instance after it is constructed or returned from a factory method. The container then
18
- injects those dependencies when it creates the bean. This process is fundamentally
13
+ (IoC) principle. IoC is also known as dependency injection (DI). It is a process whereby
14
+ objects define their dependencies (that is, the other objects they work with) only through
15
+ constructor arguments, arguments to a factory method, or properties that are set on the
16
+ object instance after it is constructed or returned from a factory method. The container
17
+ then injects those dependencies when it creates the bean. This process is fundamentally
19
18
the inverse (hence the name, Inversion of Control) of the bean itself
20
19
controlling the instantiation or location of its dependencies by using direct
21
20
construction of classes or a mechanism such as the Service Locator pattern.
You can’t perform that action at this time.
0 commit comments