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; }
public static MetaModule create(String application, String module) { return MetaApplications.getMetaApplication(application).getMetaModule(module); }