diff --git a/notification/README.md b/notification/README.md index e94421ff5..04feb01cb 100644 --- a/notification/README.md +++ b/notification/README.md @@ -32,6 +32,10 @@ In plain words > The Notification design pattern enables an object to automatically notify a list of interested observers about changes or events without knowing the specifics of the subscribers. +Sequence diagram + +![Notification sequence diagram](./etc/notification-sequence-diagram.png) + ## Programmatic Example of Notification Pattern in Java The Java Notification pattern is used to capture information passed between layers, validate the information, and return any errors to the presentation layer if needed. It reduces coupling between the producer and consumer of events, enhances flexibility and reusability of components, and allows for dynamic event subscription and unsubscription. diff --git a/notification/etc/notification-sequence-diagram.png b/notification/etc/notification-sequence-diagram.png new file mode 100644 index 000000000..ec9c25992 Binary files /dev/null and b/notification/etc/notification-sequence-diagram.png differ