Inversion of control:

Inversion of control: the responsibility of coordinating collaboration between dependent objects is transferred away from the objects themselves. And that’s where lightweight container frameworks, such as Spring, come into play.

Source