wapp.getConfiguration().invokeURIInterceptors(path);
<BUG>final Object ctx = wapp.getNativeContext();
if (ctx instanceof ServletContext)</BUG>
return ResourceCaches.get(
<BUG>getCache(wapp), (ServletContext)ctx, path, locator);

throw new UnsupportedOperationException("Unknown context: "+ctx);</BUG>
}
public static final Locator getLocator(WebApp wapp, String path) {
if (wapp == null) throw new IllegalArgumentException("null");

wapp.getConfiguration().invokeURIInterceptors(path);
return ResourceCaches.get(
getCache(wapp), wapp.getServletContext(), path, locator);
}
public static final Locator getLocator(WebApp wapp, String path) {
if (wapp == null) throw new IllegalArgumentException("null");
