boolean debug = logger.isLoggable(BasicLevel.DEBUG);
if (debug) {
logger.log(BasicLevel.DEBUG, "Extent nodes: " + extents.size());
}
for (Iterator it = extents.iterator(); it.hasNext();) {
JormExtent je = (JormExtent) it.next();
try {
PClassMapping pcm = jf.getPClassMapping(
JormPathHelper.getOriginClass(je.getJormName()),
classLoader);
if (debug) {
logger.log(BasicLevel.DEBUG,
"JormExtent: " + je + " / pcm=" + pcm);
}
je.setPMapper(pcm.getPMapper(), pcm.getProjectName());
} catch (PException e) {
throw new SpeedoException(
"Error while fetching PClassPMapping of the class "
+ je.getJormName(), e);
}
}
}