if (misoProperties.containsKey("miso.naming.scheme."+classname) && misoProperties.get("miso.naming.scheme."+classname).equals(mns.getSchemeName())) {
for (String key : misoProperties.keySet()) {
if (key.startsWith("miso.naming.generator."+classname)) {
String genprop = key.substring(key.lastIndexOf(".")+1);
NameGenerator ng = nameGeneratorResolverService.getNameGenerator(misoProperties.get("miso.naming.generator."+classname+"."+genprop));
if (ng != null) {
mns.registerCustomNameGenerator(genprop, ng);
}
}
}