...
The sequence diagram shows how the components of the message rules engine interact and how an application (e.g. Online Reg) interacts with the engine.
1.
- The app calls the "gatherMessages" method of the Message Rules Engine, supplying domain and context.
...
- The rules engine retrieves rules metadata from the Message Rules service, based on the supplied domain and context. The metadata is a list of rules to be executed, and the associated messages.
...
- The rules engine then works through the rules metadata list, evaluating each rule in the list, and constructing a list of messages returned by each rule.
...
- Finally the rules engine returns the completed list of messages to the calling application.
Class Diagram
The class diagram shows the Java objects and their relationships, organized by package.