... |
... |
@@ -21,8 +21,8 @@ |
21 |
21 |
))) |
22 |
22 |
|[[Constructor Injection>>doc:Software Engineering.Dependency Injection.Types of Dependency Injection.WebHome]]|(% style="text-align:justify" %)Dependency Injection performed by passing a dependency to an instance via constructor argument. |
23 |
23 |
|Component|((( |
24 |
|
-1. In Spring, it is a general term for a bean that no other Spring Bean Annotation matches. |
25 |
|
-1. In software architecture, it is a module that can be executed independently. It is often compiled and/or compressed into an executable binary such as a .jar or .exe file. |
|
24 |
+1. In Spring, it is a generic annotation for a bean that no other Spring Bean Annotation matches: "@Component". |
|
25 |
+1. In software architecture, it is a module that can be executed independently. It is often compiled and/or compressed into an executable such as a .jar or .exe file. |
26 |
26 |
))) |
27 |
27 |
|Data Structure|(% style="text-align:justify" %)A very simple type of class that contains only data and no logic. For example, a class that has only public fields but no methods. Another form is a class with private fields and simple corresponding getters and setters. |
28 |
28 |
|Dependency|(% style="text-align:justify" %)In the context of classes, a dependency is a field that must be initialized with an instance of another class in order for an object of that class to function properly. Often, the initialization is realized via Dependency Injection. |
... |
... |
@@ -77,7 +77,7 @@ |
77 |
77 |
|[[Setter Injection>>doc:Software Engineering.Dependency Injection.Types of Dependency Injection.WebHome]]|(% style="text-align:justify" %)Dependency Injection performed by passing a dependency to an instance via setter method argument. |
78 |
78 |
|Spring Bean|((( |
79 |
79 |
(% style="text-align: justify;" %) |
80 |
|
-A term used in Spring IoC Framework for an object that is contained in the IoC container to be injected into other beans and/or to receive dependency injections. It is one of many components/beans that are wired together via IoC to form the application when it is started. |
|
80 |
+A term used in Spring Framework for an object that is contained in the IoC container to be injected into other beans and/or to receive dependency injections. It is one of many components/beans that are wired together via IoC to form the application when it is started. |
81 |
81 |
|
82 |
82 |
(% style="text-align: justify;" %) |
83 |
83 |
Not to be confused with JavaBeans. |