How Spring Container work?

Spring Container Working:

At the Spring Container startup following task will happen-

Step1-Locate the Spring configuration document
Step2-Read the Bean Definitions
Step3-Create the Bean instances
step4-inject the Bean Dependency

Once the Container is ready than all the Bean instances are ready and running inside the Container.

Now you can get the required Bean as follows

Object getBean(String beanId)

0 comments :

Post a Comment