Examples of ConfigInterface


Examples of com.agiletec.aps.system.services.baseconfig.ConfigInterface

    super.destroy();
  }

  protected void loadConfigs() throws ApsSystemException {
    try {
      ConfigInterface configManager = this.getConfigManager();
      String xml = configManager.getConfigItem(JpcontentworkflowSystemConstants.WORKFLOW_NOTIFIER_CONFIG_ITEM);
      if (xml == null) {
        throw new ApsSystemException("Configuration item not present: " + JpcontentworkflowSystemConstants.WORKFLOW_NOTIFIER_CONFIG_ITEM);
      }
      WorkflowNotifierDOM configDOM = new WorkflowNotifierDOM();
      this.setNotifierConfig(configDOM.extractConfig(xml));
View Full Code Here

Examples of com.agiletec.aps.system.services.baseconfig.ConfigInterface

    ApsSystemUtils.getLogger().debug(this.getName() + ": initialized");
  }
 
  protected void loadConfig() {
    try {
      ConfigInterface configManager = this.getConfigManager();
      String xml = configManager.getConfigItem(JpcontentworkflowSystemConstants.CONTENT_WORKFLOW_CONFIG_ITEM);
      if (xml == null) {
        throw new ApsSystemException("Configuration item not present: " + JpcontentworkflowSystemConstants.CONTENT_WORKFLOW_CONFIG_ITEM);
      }
      ContentWorkflowDOM configDOM = new ContentWorkflowDOM();
      this.setWorkflowConfig(configDOM.extractConfig(xml));
View Full Code Here

Examples of com.agiletec.aps.system.services.baseconfig.ConfigInterface

      contentDao.setDataSource(dataSource);
      ILangManager langManager = (ILangManager) this.getService(SystemConstants.LANGUAGE_MANAGER);
      contentDao.setLangManager(langManager);
      this._contentDao = contentDao;

      ConfigInterface configManager = (ConfigInterface) this.getService(SystemConstants.BASE_CONFIG_MANAGER);
      configManager.updateConfigItem(SystemConstants.CONFIG_ITEM_PARAMS, TEST_CONFIG);
    } catch (Throwable t) {
      throw new Exception(t);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.