code: public IClient getClientInstance(ClientType clientType) {
      IClient clientInstance = clientImpls.get(clientType);
      if (null == clientInstance) {
        if (ClientType.CLI == clientType) {
          clientInstance = new CliClient();
        }
        if (null != clientInstance) {
          clientImpls.put(clientType, clientInstance);
        }
      }
      return clientInstance;
    }
docs: Gets an instance of the specified client type.
  
  @param clientType
  The type of client to get.
  @return An instance of the specified client type.