1 package se.citerus.dddsample.application;
2
3 import se.citerus.dddsample.domain.model.cargo.Cargo;
4 import se.citerus.dddsample.domain.model.handling.HandlingEvent;
5 import se.citerus.dddsample.interfaces.handling.HandlingEventRegistrationAttempt;
6
7
8
9
10
11
12
13
14 public interface ApplicationEvents {
15
16
17
18
19
20
21 void cargoWasHandled(HandlingEvent event);
22
23
24
25
26
27
28 void cargoWasMisdirected(Cargo cargo);
29
30
31
32
33
34
35 void cargoHasArrived(Cargo cargo);
36
37
38
39
40
41
42 void receivedHandlingEventRegistrationAttempt(HandlingEventRegistrationAttempt attempt);
43
44 }