void function ( RepositoryEvent arg0 ) { List < ListenerHandle > loc0 = lists . get ( arg0 . getListenerType ( ) ) ; if ( loc0 != null ) { for ( ListenerHandle loc1 : loc0 ) arg0 . dispatch ( loc1 . listener ) ; } }
dispatch an event to all interested listeners . listeners are selected by the type of listener the event delivers to . concode_field_sep ConcurrentMap<Class<? extends RepositoryListener>,CopyOnWriteArrayList<ListenerHandle>> lists concode_field_sep void add concode_elem_sep ListenerHandle addIndexChangedListener concode_elem_sep ListenerHandle addRefsChangedListener concode_elem_sep ListenerHandle addConfigChangedListener concode_elem_sep void remove concode_elem_sep ListenerHandle addListener