*/
public Configuration addResource(String resourceName, ClassLoader classLoader) throws MappingException {
LOG.readingMappingsFromResource( resourceName );
InputStream resourceInputStream = classLoader.getResourceAsStream( resourceName );
if ( resourceInputStream == null ) {
throw new MappingNotFoundException( "resource", resourceName );
}
add( resourceInputStream, "resource", resourceName );
return this;
}