docs: update service locator

This commit is contained in:
Ilkka Seppälä
2024-05-27 12:22:10 +03:00
parent 0918074667
commit b4c3ddfec1
-4
View File
@@ -91,10 +91,6 @@ Here is the output from running the example:
15:39:51.420 [main] INFO com.iluwatar.servicelocator.ServiceImpl -- Service jndi/serviceA is now executing with id 56
```
## Class diagram
![Service Locator](./etc/service-locator.png "Service Locator")
## Applicability
* Use when you want to decouple service creation from client classes to reduce dependencies and improve code maintainability.