Package com.agiletec.plugins.jpcasclient.aps.system.services.config.parse

Examples of com.agiletec.plugins.jpcasclient.aps.system.services.config.parse.ConfigDOM


public class CasClientConfigManager extends AbstractService implements ICasClientConfigManager {

  @Override
  public void init() throws Exception {
    String configItem = this.getConfigManager().getConfigItem(CasClientPluginSystemCostants.JPCASCLIENT_CONFIG_ITEM);
    ConfigDOM configDOM = new ConfigDOM();
    CasClientConfig casClientConfig = configDOM.extractConfig(configItem);
    this.setClientConfig(casClientConfig);
  }
View Full Code Here


    this.setClientConfig(null);
  }
 
  @Override
  public void updateConfig(CasClientConfig config) throws ApsSystemException {
    ConfigDOM configDOM = new ConfigDOM();
    String configurationItem;
    try {
      configurationItem = configDOM.createConfigXml(config);
      this.getConfigManager().updateConfigItem(CasClientPluginSystemCostants.JPCASCLIENT_CONFIG_ITEM, configurationItem);
      this.setClientConfig(config);
    } catch (ApsSystemException t) {
      ApsSystemUtils.logThrowable(t, this, "updateConfig");
      throw new ApsSystemException("Errore in fase di aggiornamento configurazione mail", t);
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jpcasclient.aps.system.services.config.parse.ConfigDOM

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.