result = providerClass.getConstructor(Protocol.class, String.class).newInstance(protocol);
result = providerClass.getConstructor(Protocol.class).newInstance(protocol);
   public Client createClient(Protocol protocol)   {      Client result = null;      try      {         Class<? extends Client> providerClass = this.clients.get(protocol);         if((providerClass != null) && (protocol != null))         {            result = providerClass.getConstructor(Protocol.class, String.class).newInstance(protocol);         }         else         {            logger.log(Level.WARNING, "No client connector supports the " + protocol.getName() + " protocol.");         }      }      catch (Exception e)      {         logger.log(Level.SEVERE, "Exception while instantiation the client connector.", e);      }      return result;   }