1 package com.calipso.reportgenerator.reportmanager; 2 3 import com.calipso.reportgenerator.common.IReportManagerFactory; 4 import com.calipso.reportgenerator.common.IReportManager; 5 import com.calipso.reportgenerator.common.ReportGeneratorConfiguration; 6 import com.calipso.reportgenerator.common.InfoException; 7 8 15 public class LocalReportManagerFactory implements IReportManagerFactory { 16 17 public IReportManager newReportManager(ReportGeneratorConfiguration reportGeneratorConfiguration, boolean isStateFul, String host) throws InfoException { 18 IReportManager reportManager = new ReportManager(); 19 reportManager.init(reportGeneratorConfiguration); 20 return reportManager; 21 } 22 } 23 | Popular Tags |