Showing posts with label Dependency Injection. Show all posts
Showing posts with label Dependency Injection. Show all posts

Sunday, February 17, 2013

Dependency Injection ( DI )

Dependency Injection means inversion of responsibilities with regard to how an object obtains references to collaborating objects.

When applying DI , objects are given their dependencies at creation time by some external entity that coordinates with each object in the system.

Benefits : Loose coupling.