示例#1
0
 private static void createDefaultMetaModules(MetaApplication app) {
   for (String className : AnnotatedClassParser.getManagedClassNames()) {
     if (className.endsWith(".GalleryImage") || className.endsWith(".AttachedFile")) continue;
     if (isEmbeddable(className)) continue;
     app.getMetaModule(Strings.lastToken(className, "."));
   }
 }
示例#2
0
 private static void createAdditionalMetaModules(MetaApplication app) {
   for (String moduleName : AdditionalModules.get()) {
     app.getMetaModule(moduleName);
   }
 }