code: protected Map<FaxActionType,String> initializeFaxActionType2ResourceMap()
      {
          //get resources
          Map<FaxActionType,String> map=new HashMap<FaxActionType,String>();
          FaxActionType[] faxActionTypes=new FaxActionType[]{FaxActionType.SUBMIT_FAX_JOB,
                                                             FaxActionType.SUSPEND_FAX_JOB,
                                                             FaxActionType.RESUME_FAX_JOB,
                                                             FaxActionType.CANCEL_FAX_JOB,
                                                             FaxActionType.GET_FAX_JOB_STATUS};
          Enum<?>[] keys=new Enum<?>[]{FaxClientSpiConfigurationConstants.SUBMIT_HTTP_RESOURCE_PROPERTY_KEY,
                                       FaxClientSpiConfigurationConstants.SUSPEND_HTTP_RESOURCE_PROPERTY_KEY,
                                       FaxClientSpiConfigurationConstants.RESUME_HTTP_RESOURCE_PROPERTY_KEY,
                                       FaxClientSpiConfigurationConstants.CANCEL_HTTP_RESOURCE_PROPERTY_KEY,
                                       FaxClientSpiConfigurationConstants.GET_STATUS_HTTP_RESOURCE_PROPERTY_KEY};
          String resource=null;
          for(int index=0;index<faxActionTypes.length;index++)
          {
              //get next resource
              resource=this.getConfigurationValue(keys[index]);
              if(resource!=null)
              {
                  map.put(faxActionTypes[index],resource);
              }
          }
          
          return map;
      }
docs: This function initializes the fax action type to resource mappings.
  
  @return  The fax action type to resource mappings