getDefaultService method
Implementation
CosService getDefaultService() {
  if(_cosServices.containsKey(defaultKey)){
    return _cosServices[defaultKey]!;
  } else {
    throw IllegalArgumentException("default service unregistered");
  }
}CosService getDefaultService() {
  if(_cosServices.containsKey(defaultKey)){
    return _cosServices[defaultKey]!;
  } else {
    throw IllegalArgumentException("default service unregistered");
  }
}