code: public void addCacheStoreFactory(CacheStoreFactory cacheStoreFactory) {
        if(cacheStoreFactory == null) {
           throw log.unableToAddNullCustomStore();
        }
        factories.add(0, cacheStoreFactory);
     }
docs: Adds a new factory for processing.
  
  @param cacheStoreFactory Factory to be added.