|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationEvents
This interface provides a way to let other parts of the system know about events that have occurred.
It may be implemented synchronously or asynchronously, using for example JMS.
| Method Summary | |
|---|---|
void |
cargoHasArrived(Cargo cargo)
A cargo has arrived at its final destination. |
void |
cargoWasHandled(HandlingEvent event)
A cargo has been handled. |
void |
cargoWasMisdirected(Cargo cargo)
A cargo has been misdirected. |
void |
receivedHandlingEventRegistrationAttempt(HandlingEventRegistrationAttempt attempt)
A handling event regitration attempt is received. |
| Method Detail |
|---|
void cargoWasHandled(HandlingEvent event)
event - handling eventvoid cargoWasMisdirected(Cargo cargo)
cargo - cargovoid cargoHasArrived(Cargo cargo)
cargo - cargovoid receivedHandlingEventRegistrationAttempt(HandlingEventRegistrationAttempt attempt)
attempt - handling event registration attempt
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||