Skip to content
Daan van Yperen edited this page Aug 2, 2014 · 5 revisions

Contrib-eventbus

This module allows inter system communication to artemis-odb via an event bus. Provides drop-in and go event functionality to artemis-odb.

Outline:

  • drop in artemis event manager.
  • annotation based event subscription @Subscribe
  • automated listener registration on systems and managers
  • listeners outside artemis-odb supported.
  • Dispatching and listener resolution is customizable.
  • Default dispatcher is synchronous

Getting started

  • Register EventManager with artemis-odb world.setManager(new EventManager())
  • Declare Listeners in your classes.
  • Start dispatching!