core-java icon indicating copy to clipboard operation
core-java copied to clipboard

Non-repository event generators are not handled by `Stand`

Open alexander-yevsyukov opened this issue 5 years ago • 0 comments

Even though it is possible to subscribe to events generated by a non-repository event producer such as EventReactor, those events are not delivered to the subscriptions. The reason for this is that Stand.registerTypeSupplier() accepts Repository. Other event generators are simply not registered with Stand and therefore information on events they generate is never obtained.

See Stand.messageClasses() which obtains event classes from the EventRegistry. EventRegistry in turn is updated from Stand.registerTypeSupplier().

alexander-yevsyukov avatar Dec 04 '19 12:12 alexander-yevsyukov