mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 12:16:46 +00:00
docs: update service locator
This commit is contained in:
1 parent
0918074667
commit
b4c3ddfec1
1 file changed
-4
@@ -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
|
15:39:51.420 [main] INFO com.iluwatar.servicelocator.ServiceImpl -- Service jndi/serviceA is now executing with id 56
|
||||||
```
|
```
|
||||||
|
|
||||||
## Class diagram
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## Applicability
|
## Applicability
|
||||||
|
|
||||||
* Use when you want to decouple service creation from client classes to reduce dependencies and improve code maintainability.
|
* Use when you want to decouple service creation from client classes to reduce dependencies and improve code maintainability.
|
||||||
|
|||||||
Reference in new issue
Block a user