public < T extends EventListener > void unsubscribe ( EventPublisher source , T listener ) { log . debug ( "[unsubscribe] Removing {} --> {}" , source . getClass ( ) . getName ( ) , listener . getClass ( ) . getName ( ) ) ; GenericEventDispatcher < T > dispatcher = ( GenericEventDispatcher < T > ) dispatchers . get ( source ) ; dispatcher . removeListener ( listener ) ; }
Unbinds a listener to a publisher