Method m |
Client |
B |
Register event to correspond to linkage of modules in visual WebFlow diagram: "Let firing event e by module A |
result in invocation of method m of module B" |
Context 2 |
Module A does not care who is expecting the event; method fireEvent invokes a method of its parent context |
Method m is a public method: anyone can invoke it, including the Event Adapter of Context 1. No protection against misuse! |
Dynamic |
Interfaces |
A |
B |