WebFlow Events (2)
Register event to correspond to linkage of modules in visualWebFlow diagram:“Let firing event e by module A
result in invocation of method m of module B”
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!