IOC Framework in Java : a mix of IOCs patterns (Service Locator & Dependency Injection)