}
ClassPathEntry entry = ResourceOracleImpl.createEntryForUrl(logger, url);
assert (entry != null);
ResourceOracleImpl resourceOracle = new ResourceOracleImpl(
Collections.singletonList(entry));
PathPrefixSet pathPrefixSet = new PathPrefixSet();
PathPrefix pathPrefix = new PathPrefix(prefix, null, true);
pathPrefixSet.add(pathPrefix);
resourceOracle.setPathPrefixes(pathPrefixSet);
ResourceOracleImpl.refresh(logger, resourceOracle);
Map<String, Resource> resourceMap = resourceOracle.getResourceMap();
return resourceMap;
}