code: function AdapterFactory(injector) {
      if (!injector.adapters) { return; }
      var me = this;
  
      this.adapterMap = {};
      _.each(injector.adapterMap, function (adapterName, adapterType) {
          var adapter = injector.adapters[adapterName];
          if (adapter) {
              me.adapterMap[adapterType + 'adapter'] = adapter;
          }
      });
  }
docs: Initialize the cache
  @param injector
  @constructor