* {@inheritDoc}
*/
protected Map internalResolve(final String className, final ClassLoader classLoader,
final Map properties) throws ResolverException {
MappingLoader mappingLoader = (MappingLoader)properties.get(ResolverStrategy.PROPERTY_MAPPING_LOADER);
HashMap results = new HashMap();
if (mappingLoader == null) {
LOG.debug("No mapping loader specified");
return results;
}
XMLClassDescriptor descriptor = (XMLClassDescriptor) mappingLoader.getDescriptor(className);
if (descriptor != null) {
if (LOG.isDebugEnabled()) {
LOG.debug("Found descriptor: " + descriptor);
}
results.put(className, descriptor);