| 1 | package org.sanmibuh.tedee.lock.infrastructure.primary; | |
| 2 | ||
| 3 | import lombok.RequiredArgsConstructor; | |
| 4 | import org.sanmibuh.ddd.port.CommandBus; | |
| 5 | import org.sanmibuh.tedee.lock.application.CloseLockCommand; | |
| 6 | import org.springframework.stereotype.Component; | |
| 7 | ||
| 8 | @Component | |
| 9 | @RequiredArgsConstructor | |
| 10 | public final class LockScheduler { | |
| 11 | ||
| 12 | private final CommandBus commandBus; | |
| 13 | ||
| 14 | public void closeLock(final int deviceId) { | |
| 15 |
1
1. closeLock : removed call to org/sanmibuh/ddd/port/CommandBus::dispatch → KILLED |
commandBus.dispatch(new CloseLockCommand(deviceId)); |
| 16 | } | |
| 17 | } | |
Mutations | ||
| 15 |
1.1 |