String destclassName) {
String cn = JormPathHelper.getPath(
sourceclassName, refFieldName, genClassNames);
String hints = (String) classProperties.get(cn);
try {
PClassMapping gcm = (PClassMapping)
Class.forName(getGCMClassName(mapper.getMapperName())).newInstance();
logger.log(BasicLevel.DEBUG, "getGenClassMapping(" + cn + ")");
logger.log(BasicLevel.DEBUG, "\tgcm=" + gcm);
PBinder pb = findPBinder(cn, classLoader, hints);
logger.log(BasicLevel.DEBUG, "\tbinder=" + pb);
gcm.setPBinder(pb);
pb.setPClassMapping(gcm);
PNamingContext pnc = getPNamingContext(destclassName, classLoader);
logger.log(BasicLevel.DEBUG, "\tpnc=" + pnc);
((PClassMappingCtrl) gcm).setPNameCoder(pnc);
return gcm;