// First check for local visibility via a URLClassLoader.findResource
if( loader instanceof URLClassLoader )
{
URLClassLoader ucl = (URLClassLoader) loader;
defaultUrl = ucl.findResource(defaultsName);
url = ucl.findResource(propertiesName);
log.trace("findResource: "+url);
}
// Do a general resource search
if( defaultUrl == null )
defaultUrl = loader.getResource(defaultsName);