You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/resources/applicationContext.xml
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@
40
40
<!-- </bean>-->
41
41
42
42
<!-- Dependency injection using setters and taking information from properties file -->
43
+
<!-- !!!! By default we have scope - 'singleton' ( it means that all the variables in main class which were created from the same bean will reference on the same object(bean) -->
<!-- We can set scope = prototype (in that case for all variables created using this bean new object will be created). Each variable will reference to its own object. -->
0 commit comments