code: @Override
      protected void initializeImpl()
      {
          //get port name
          this.portName=this.factoryConfigurationHolder.getConfigurationValue(FaxClientSpiConfigurationConstants.PORT_NAME_PROPERTY_KEY);
          if(this.portName==null)
          {
              throw new FaxException("Port name not defined in fax4j.properties. Property: "+FaxClientSpiConfigurationConstants.PORT_NAME_PROPERTY_KEY);
          }
  
          //get timeout
          String valueStr=this.factoryConfigurationHolder.getConfigurationValue(FaxClientSpiConfigurationConstants.TIMEOUT_PROPERTY_KEY);
          this.timeout=CommFaxClientSpi.TIMEOUT_DEFAULT_VALUE;
          if((valueStr!=null)&&(valueStr.length()>0))
          {
              try
              {
                  this.timeout=Integer.parseInt(valueStr);
              }
              catch(Exception exception)
              {
                  this.timeout=CommFaxClientSpi.TIMEOUT_DEFAULT_VALUE;
              }
          }
          if(this.timeout<=0)
          {
              this.timeout=CommFaxClientSpi.TIMEOUT_DEFAULT_VALUE;
          }
      }
docs: This function initializes the connection factory.