Package edu.uci.jforestsx.config

Examples of edu.uci.jforestsx.config.ComponentConfig


    configs = new HashMap<String, ComponentConfig>();
  }
 
  @SuppressWarnings("unchecked")
  public <T extends ComponentConfig> T getConfig(Class<T> _c) throws Exception {
    ComponentConfig config = configs.get(_c.getCanonicalName());
    if (config == null) {
      T newConfig = _c.newInstance();
      newConfig.init(this);
      configs.put(_c.getCanonicalName(), newConfig);
      return newConfig;
View Full Code Here

TOP

Related Classes of edu.uci.jforestsx.config.ComponentConfig

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.