Contains the JDI event dispatcher. An instance of
Dispatcher
listens to the JDI event queue and sends the
incoming events to the listeners that have registered for those
events. The abstract implementation prioritizes the listeners by
their class, with breakpoints getting an event before sessions, and
sessions getting the event before all other classes. Within each
class of listeners, the ordering is non-deterministic.
The Dispatcher
implementations are accessed via the
DispatcherProvider
static class. To provide custom
implementations of Dispatcher
, you must install your
implementation as a "service". See the NetBeans OpenAPIs
documentation under "Services & Lookup" to learn how
this is done.