Advanced but lightweight eventbus library for the Java language.
It embraces the separation of concerns design principle and adds modularity to fully customize the behaviour.
The documentation follows.
EventBus bus = new EventBus(
EventProcessors.newPolymorphicPublisher(),
EventProcessors.newDefaultMethodCollector());
bus.register(new TestListener());
bus.publish(new PolymorphicEvent(0, "Hello!"));
- An event-method within
TestListener
must have one parameter only, being of typeEvent
and not static. As initially stated, everything can be customized and is modular.
This library is not production nor test or alpha ready at all.
Not even core functions are implemented yet.
Please wait until a stable alpha or even version is pre-released.
You are ensured to encounter bugs very quickly.
Also the documentations are completely missing yet.
The downloads follow with the first public release.