class Oven extends AbstractOven {

  public void addDispatcher(String domain, Dispatcher dispatcher) {
    if (dispatchers.containsKey(domain)) {
      throw new RuntimeException("oven already has a dispatcher for domain '" + domain + "'");
    }

    dispatchers.put(domain, dispatcher);
  }

}