public UserNavigationHandlerServiceImpl(InitParams initParams) { userNavigationuri = initParams.getValuesParam("user.navigation.uri").getValues(); }
public UpgradeNodeTypesTemplatesService(RepositoryService repositoryService, NodeHierarchyCreator nodeHierarchyCreator, DMSConfiguration dmsConfiguration, TemplateService templateService, ConfigurationManager configurationManager, InitParams initParams) { super(initParams); this.templateService = templateService; this.configurationManager = configurationManager; this.repositoryService = repositoryService; this.dmsConfiguration = dmsConfiguration; // List of eXo predefined Templates component-plugin names, // that contains the DocumentType Templates // that we want to be upgraded each Platform upgrade List<?> pluginNamesList = initParams.getValuesParam("plugin-names").getValues(); for (Object object : pluginNamesList) { this.pluginNamesList.add((String) object); } cmsTemplatesBasePath = nodeHierarchyCreator.getJcrPath(BasePath.CMS_TEMPLATES_PATH); if (cmsTemplatesBasePath == null) { throw new RuntimeException("UpgradeNodeTypesTemplatesService: " + BasePath.CMS_TEMPLATES_PATH + " path couldn't be found"); } }
@SuppressWarnings("unchecked") public ModuleRegistry(InitParams initParams) { if (initParams.containsKey("portlets.managed.by.profile")) { portletsManagedByProfile = initParams.getValuesParam("portlets.managed.by.profile").getValues(); } else { portletsManagedByProfile = new ArrayList<String>(); } Iterator<Module> iterator = initParams.getObjectParamValues(Module.class).iterator(); while (iterator.hasNext()) { Module module = iterator.next(); if (LOG.isDebugEnabled()) { LOG.debug(module.toString()); } modulesByName.put(module.getName(), module); } }
return; ValuesParam vp = params.getValuesParam(PARAM_MANAGED_DS); if (vp != null && vp.getValues() != null)
public ChromatticLifeCycle(InitParams params) { Map<String, String> options = new HashMap<String, String>(); PropertiesParam pp = params.getPropertiesParam("options"); if (pp != null) { options.putAll(pp.getProperties()); } this.domainName = params.getValueParam("domain-name").getValue(); this.workspaceName = params.getValueParam("workspace-name").getValue(); this.entityClassNames = params.getValuesParam("entities").getValues(); this.optionMap = options; }
ValuesParam mixinsValueParam = initParams.getValuesParam("mixinsCleanup.includes"); if (mixinsValueParam != null) { List<String> mixins = mixinsValueParam.getValues(); ValuesParam mixinsExceptionsValueParam = initParams.getValuesParam("mixinsCleanup.excludes"); if (mixinsExceptionsValueParam != null) { List<String> mixins = mixinsExceptionsValueParam.getValues();
ConfigurationManager confManager) { super(loadPropertiesParams(params), confManager); ValuesParam exts = params.getValuesParam("properties.urls"); if (exts != null) { for (Object val : exts.getValues()) {