code: public ContentBasedLocalBundleRepository getBundleRepository(String featureName, WsLocationAdmin locService) {
          return BundleRepositoryRegistry.getRepositoryHolder(featureName).getBundleRepository();
      }
docs: Get bundle repository
  
  @param locService
  a location service
  @param msgs
  true if messages should be output to the log, false otherwise.
  
  @return a bundle repository