Spring IOC/Dependency Injection Flashcards
1
Q
What Is Inversion of Control?
A
Inversion of Control is a principle in software engineering which transfers the control of objects or portions of a program to a container or framework.
2
Q
What are four mechanisms for Inversion of Control ?
A
- Strategy Design pattern
- Service Locator pattern
- Factory pattern
- Dependency Injection