as i read the example, it only implements service locator pattern, not dependency injection
as i read the example, it only implements service locator pattern, not dependency injection