final HashMap<FactoryParameterKey,Object> map = new HashMap<FactoryParameterKey,Object>();
map.put(new FactoryParameterKey("repository"), zipReadRepository);
map.put(new FactoryParameterKey("repository-loader"), this);
final ResourceKey mainKey = new ResourceKey(key, ZipResourceBundleLoader.class.getName(), bundleMapping, map);
return new RepositoryResourceBundleData(key, zipReadRepository, mainKey, false);
}
finally
{
stream.close();