-// private void registerIfAllThemesAvailable() {
-// boolean themeMissing = false;
-// uiNames: for (String uiName : cmsApp.getUiNames()) {
-// String themeId = cmsApp.getThemeId(uiName);
-// if (RWT.DEFAULT_THEME_ID.equals(themeId))
-// continue uiNames;
-// if (!themes.containsKey(themeId)) {
-// themeMissing = true;
-// break uiNames;
-// }
-// }
-// if (!themeMissing) {
-// Dictionary<String, Object> regProps = LangUtils.dict(CONTEXT_NAME, contextName);
-// if (bundleContext != null) {
-// rwtAppReg = bundleContext.registerService(ApplicationConfiguration.class, this, regProps);
-// log.info("Published CMS web app /" + (contextName != null ? contextName : ""));
-// }
-// }
-// }
-