Skip to content

rnkoaa/eventbus

Repository files navigation

Event Bus Annotation Processing.

  1. There can be multiple listeners for one event
  2. for the event subscriber, the event must be the first object of the method
  3. Object must be annotated with @AggregateEvent
  4. must be a singleton bean
  • first implementation

    • subscriber must be annotated wit @EventListener
    • subscriber must accept a single param of an event type
    • subscriber method must be public
    • class must be annotated with @Singleton
  • EventClassName, EventClass FQDN, name of subscriber

About

a simple annotatation based eventbus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages