#113 Event Driven Architecture

- initial commit includes a simple and advanced example of Event-driven architecture
This commit is contained in:
chris
2015-11-22 19:40:07 +01:00
parent 092d48d150
commit eb396217d0
12 changed files with 184 additions and 0 deletions
@@ -0,0 +1,10 @@
package com.iluwatar.eda.advanced;
public class App {
public static void main(String[] args) {
EventDispatcher dispatcher = new EventDispatcher();
dispatcher.registerChannel(Event.class, new Handler());
dispatcher.dispatch(new Event());
}
}