Dependency injection in Spring through setter getter technique