public void dispatch ( Event < ? > event ) { //eventManagement.dispatch(event); for ( EventListener listener : KReflection . Holder . INSTANCE . listeners ) { try { listener . handleEvent ( event ) ; } catch ( Exception e ) { // ignore // TODO add message kind } } }
Dispatch an event to all listeners .