Examples of ConfigFactory


Examples of org.pentaho.reporting.engine.classic.core.modules.misc.configstore.base.ConfigFactory

   *
   * @throws ModuleInitializeException if an error ocurred.
   */
  public void performInit() throws ModuleInitializeException
  {
    final ConfigFactory factory = ConfigFactory.getInstance();
    factory.defineUserStorage
        (new Java14ConfigStorage(Preferences.userNodeForPackage(MasterReport.class)));
    factory.defineSystemStorage
        (new Java14ConfigStorage(Preferences.systemNodeForPackage(MasterReport.class)));
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.misc.configstore.base.ConfigFactory

    final String systemBaseDirectory =
        ClassicEngineBoot.getInstance().getGlobalConfig().getConfigProperty
            (FileConfigStoreModuleInitializer.SYSTEM_BASEDIR_CONFIG_KEY, "~/.pentaho/classic-engine/system"); //$NON-NLS-1$

    final ConfigFactory factory = ConfigFactory.getInstance();
    factory.defineUserStorage(new FileConfigStorage(getStoragePath(userBaseDirectory)));
    factory.defineSystemStorage(new FileConfigStorage(getStoragePath(systemBaseDirectory)));
  }
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.