A generic blackboard system for listening to and firing events.

Sometimes, having a deep component hierarchy poses a problem, when you need to inform a component high up in the tree that something happened deep down below. You normally have one of two choices - either pass the listener all the way down the hierarchy, leading to more coupled code, or let each component in between be a listener/notifier, passing the event all the way back up.

With the Blackboard, you can register any listener to listen for any event, and when that event is fired, all the listeners for that event are triggered. This keeps your components clean and rid of unnecessary boilerplate code.

Versions 1.1.0 and 1.2.0 have a dependency to Google Collections.

Install

Link to this version
StableReleased 27 April 2012Apache License 2.0
Framework Support
Browser Independent
Install with
Release notes - Version 2.2.0

it is now allowed to register one listener to handle several events