code: public void subscribeToEvent(EventListener eventListener, Class<? extends AbstractTaskEvent> eventType) {
  		this.outputGate.subscribeToEvent(eventListener, eventType);
  	}
docs: -----------------------------------------------------------------------------------------------------------------