public synchronized void removeOutputPort(String key){
  outputPorts.remove(key);
}

public synchronized void removeOutputPort ( String key ) { outputPorts . remove ( key ) ; }
removes a registered outputport .
