mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-09-03 00:17:56 +00:00
Hexagonal pattern: Introduced lottery events port with two adapters
This commit is contained in:
@@ -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