Package de.beimax.simplespleef.statistics

Examples of de.beimax.simplespleef.statistics.StatisticsFactory


   * create new statistics handler instance
   */
  private void createStatisticsHander() {
    if (getConfig().getBoolean("settings.enableStatistics", true))
      try {
        StatisticsFactory statisticsHandler = new StatisticsFactory();
        statisticsModule = statisticsHandler.getStatisticsModuleByName(getConfig().getString("settings.statisticsModule", "file"),
            getConfig().getConfigurationSection("settings.statisticsSettings"));
      } catch (Exception e) {
        SimpleSpleef.log.warning("[SimpleSpleef] Could not initiate statistics module - settings bugged somehow or database error. Disabling statistics for now.");
        statisticsModule = null;
      }
View Full Code Here

TOP

Related Classes of de.beimax.simplespleef.statistics.StatisticsFactory

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.