+ public void init(BundleContext bundleContext, Map<String, Object> properties) {
+ if (properties.containsKey(CMS_THEME_BUNDLE_PROPERTY)) {
+ String cmsThemeBundle = properties.get(CMS_THEME_BUNDLE_PROPERTY).toString();
+ theme = new CmsTheme(bundleContext, cmsThemeBundle);
+ } else {
+ theme = new CmsTheme(bundleContext, DEFAULT_CMS_THEME_BUNDLE);
+ }