Package de.mhus.lib.config

Examples of de.mhus.lib.config.IConfig


  private Housekeeper housekeeper;

  public MRemoteManager() {
    housekeeper = new Housekeeper(this);
    IConfig config = MSingleton.instance().getConfig(this,new HashConfig());
    MSingleton.instance().getHousekeeper().register(housekeeper, config.getLong("housekeeper_sleep",30000), true);
  }
View Full Code Here


  protected int doCalculateChildColumns(LayoutComposite child) {
    return getColumns();
  }

  protected void doBuildChildren() throws Exception {
    IConfig cLayout = config.getConfig("layout");
    if (cLayout == null) return;
    for (IConfig subConfig : cLayout.getConfigBundle()) {
      LayoutElement sub = doBuildChild(this,subConfig);
      if (sub != null)
        elements.add(sub);
    }
  }
View Full Code Here

TOP

Related Classes of de.mhus.lib.config.IConfig

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.