Its a basic model of Dependency Injection Container in Java