Timeline for IOC container & accessing Implementation from the container
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 6, 2018 at 15:03 | comment | added | Ewan | that makes no sense | |
Jan 6, 2018 at 14:58 | comment | added | user1787812 |
you mean, on creation of container, all the dependencies and their dependencies thru constructor/setter injection are ready as shown here. This syntax public void setQuizMaster(QuizMaster quizMaster){} gets executed amidst creation of container, which requires container to provide its dependency as mentioned in xml
|
|
Jan 6, 2018 at 14:42 | comment | added | Ewan | I've added some stuff. | |
Jan 6, 2018 at 14:39 | comment | added | user1787812 |
For this line of code ApplicationContext appContext = new ClassPathXmlApplicationContext("Springbeans.xml") that creates a dependency container, my first question asks, Is it right to say that, creation of container has nothing to do with design pattern(like DI or SLP)?
|
|
Jan 6, 2018 at 14:33 | history | edited | Ewan | CC BY-SA 3.0 |
added 973 characters in body
|
Jan 6, 2018 at 13:54 | comment | added | Ewan | your question is a bit vague. I don't really understand what it is you are looking for | |
Jan 6, 2018 at 13:44 | comment | added | user1787812 | Would you also like to comment on my first question? | |
Jan 6, 2018 at 12:36 | history | answered | Ewan | CC BY-SA 3.0 |