Exemplo n.º 1
0
 public static List<MetaModule> createAll() {
   List<MetaModule> result = new ArrayList<MetaModule>();
   for (Object oapp : MetaApplications.getMetaApplications()) {
     MetaApplication app = (MetaApplication) oapp;
     createDefaultMetaModules(app);
     createAdditionalMetaModules(app);
     result.addAll(app.getMetaModules());
   }
   return result;
 }
Exemplo n.º 2
0
 public static MetaModule create(String application, String module) {
   return MetaApplications.getMetaApplication(application).getMetaModule(module);
 }