Files
java-design-patterns/anti-corruption-layer/etc/anti-corruption-layer.urm.puml
T
Boris Zhguchev 5c47447d9b feat: anti corruption layer - Issue 1325. (#2777)
* add init impl

* add docs

* add test

* correct tests and specs

* add check style corrections

* add init impl

* add docs

* add test

* correct tests and specs

* add check style corrections

* issue_1325: revert accidental damage to the other repos

* issue_1325: sort the comments

---------

Co-authored-by: Boris Zhguchev <boris.zhguchev@gropyus.com>
2024-03-17 09:32:24 +02:00

25 lines
524 B
Plaintext

@startuml
package com.iluwatar.corruption {
class LegacyShop {
private Store store;
private AntiCorruptionLayer acl;
}
class ModernShop {
private Store store;
private AntiCorruptionLayer acl;
}
class AntiCorruptionLayer{
private LegacyShop legacyShop;
private ModernShop modernShop;
}
LegacyShop ---> "findOrderInModernSystem" AntiCorruptionLayer
ModernShop ---> "findOrderInLegacySystem" AntiCorruptionLayer
AntiCorruptionLayer ..|> ModernShop
AntiCorruptionLayer ..|> LegacyShop
}
@enduml