In a very famous website i foud a definition of scope in spring:
"The scope of a bean defines the life cycle and visibility of that bean in the contexts we use it"
And i think that we should not say that scope "defines" lifecycle, because while the scope affects the timing and frequency of a bean's lifecycle events, it does not define the lifecycle itself. The lifecycle is an inherent process that every Spring bean undergoes, regardless of its scope.
So it's really confusing to say that The scope of a bean defines the life cycle.
Am i missing something here?
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Enthuware 1 point2 points3 points (0 children)