Package ch.entwine.weblounge.common.impl.util.config

Examples of ch.entwine.weblounge.common.impl.util.config.OptionsHelper


      throw new IllegalStateException("No schedule has been defined for job '" + identifier + "'");
    jobTrigger = new CronJobTrigger(schedule);

    // Read options
    Node nodes = XPathHelper.select(config, "m:options", xPathProcessor);
    OptionsHelper options = OptionsHelper.fromXml(nodes, xPathProcessor);
    for (Map.Entry<String, Map<Environment, List<String>>> entry : options.getOptions().entrySet()) {
      String key = entry.getKey();
      Map<Environment, List<String>> environments = entry.getValue();
      for (Environment environment : environments.keySet()) {
        List<String> values = environments.get(environment);
        if (values.size() == 1)
View Full Code Here


  public ModuleImpl() {
    renderers = new HashMap<String, PageletRenderer>();
    actions = new HashMap<String, Action>();
    imagestyles = new HashMap<String, ImageStyle>();
    jobs = new HashMap<String, Job>();
    options = new OptionsHelper();
  }
View Full Code Here

    urls = new ArrayList<SiteURL>();
    defaultURLByEnvironment = new HashMap<Environment, SiteURL>();
    jobs = new HashMap<String, QuartzJob>();
    localRoles = new HashMap<String, String>();
    i18n = new I18nDictionaryImpl();
    options = new OptionsHelper();
  }
View Full Code Here

TOP

Related Classes of ch.entwine.weblounge.common.impl.util.config.OptionsHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.