Glossary: Software Design Patterns in Java
Service locator
A global registry that code reaches into for its dependencies. It hides the dependencies and makes tests change the global, so injection is preferred.
Glossary: Software Design Patterns in Java
A global registry that code reaches into for its dependencies. It hides the dependencies and makes tests change the global, so injection is preferred.