From: Kai Moritz Date: Sun, 26 Feb 2023 14:30:20 +0000 (+0100) Subject: refactor: `ChatRoomFactory` returns real `ChatRoom`s X-Git-Tag: kafkadata~52 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=4d8c110dce80cdc2c1819785fb71739fbe9ee9c1;hp=4d8c110dce80cdc2c1819785fb71739fbe9ee9c1;p=demos%2Fkafka%2Fchat refactor: `ChatRoomFactory` returns real `ChatRoom`s - `ChatHomeService` only deals with real `ChatRoom`s. - Hence, there is no need for `ChatRoomFactory`, to return the simplified interface `ChatRoomInfo`. - This is, because the implementation specific logic is implemented in the `ChatHomeService`, not `ChatHome` itself: the actual implementation is hidden behind that service (and behind the service `ChatRoomService` in the domain-class `ChatRoom`). ---