//set headless property so JFreeChart doesn't try to use the X rendering system to generate images
System.setProperty("java.awt.headless", "true");
//set up naming schemes
MisoEntityNamingSchemeResolverService entityNamingSchemeResolverService = (MisoEntityNamingSchemeResolverService)context.getBean("entityNamingSchemeResolverService");
Collection<MisoNamingScheme<?>> mnss = entityNamingSchemeResolverService.getNamingSchemes();
MisoNameGeneratorResolverService nameGeneratorResolverService = (MisoNameGeneratorResolverService)context.getBean("nameGeneratorResolverService");
Collection<NameGenerator<?>> ngs = nameGeneratorResolverService.getNameGenerators();
for (MisoNamingScheme<?> mns : mnss) {