Skip to content

Includes 4 different projects which use different ways of Spring dependancy injection demo. It also explains how bean lifecycle works and context can effect it

Notifications You must be signed in to change notification settings

yusufunlu/Spring-Bean-Lifecycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bean_lifecycle

This project for testing how bean lifecycle works and context can effect it

There are 4 projects which has different aims to test

  1. context_manage show differnt context objects which derived from same config class, will create different singleton beans!!! Yes, because, they are different context manager of beans
  2. Prototype bean in singleton ==> prototype
  3. Singleton bean in prototype ==> singleton This means context is still the manager of lifecycle even parent bean is prototype it is still singleton dependancy

About

Includes 4 different projects which use different ways of Spring dependancy injection demo. It also explains how bean lifecycle works and context can effect it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages