mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 12:14:51 +00:00
Hexagonal pattern: Introduced lottery events port with two adapters
This commit is contained in:
1 parent
c4c5e78e50
commit
df32a7b893
11 files changed
+282
-41
No files matched your search
@@ -116,7 +116,7 @@ package com.iluwatar.hexagonal.database {
|
||||
+ save(LotteryTicket) : Optional<LotteryTicketId> {abstract}
|
||||
}
|
||||
}
|
||||
package com.iluwatar.hexagonal.notifications {
|
||||
package com.iluwatar.hexagonal.eventlog {
|
||||
interface LotteryNotifications {
|
||||
+ notifyNoWin(PlayerDetails) {abstract}
|
||||
+ notifyPrize(PlayerDetails, int) {abstract}
|
||||
|
||||
Reference in new issue
Block a user