in src/main/java/org/apache/sling/jcr/classloader/internal/RepositoryClassLoader.java [182:201]
public URL findResource(final String name) {
if (!this.writer.isActivate()) {
logger.warn("Destroyed class loader cannot find a resource: " + name, new IllegalStateException());
return null;
}
logger.debug("findResource: Try to find resource {}", name);
final String path = this.repositoryPath + '/' + name;
try {
if ( findClassLoaderResource(path) ) {
logger.debug("findResource: Getting resource from {}", path);
return JCRURLHandler.createURL(this.writer, path);
}
} catch (final Exception e) {
logger.warn("findResource: Cannot getURL for " + name, e);
}
return null;
}