code: public void deliverEvent(AbstractTaskEvent event) {
  
  		synchronized (this.subscriptions) {
  
  			List<EventListener> subscribers = this.subscriptions.get(event.getClass());
  			if (subscribers == null) {
  				return;
  			}
  
  			final Iterator<EventListener> it = subscribers.iterator();
  			while (it.hasNext()) {
  				it.next().eventOccurred(event);
  			}
  		}
  	}
docs: Delivers a event to all of the registered subscribers.
  
  @param event The event to deliver.