01: package com.calipso.reportgenerator.reportmanager;
02:
03: import com.calipso.reportgenerator.common.IReportManagerFactory;
04: import com.calipso.reportgenerator.common.IReportManager;
05: import com.calipso.reportgenerator.common.ReportGeneratorConfiguration;
06: import com.calipso.reportgenerator.common.InfoException;
07:
08: /**
09: *
10: * User: Breto
11: * Date: 06/05/2004
12: * Time: 10:44:32
13: *
14: */
15: public class LocalReportManagerFactory implements IReportManagerFactory {
16:
17: public IReportManager newReportManager(
18: ReportGeneratorConfiguration reportGeneratorConfiguration,
19: boolean isStateFul, String host) throws InfoException {
20: IReportManager reportManager = new ReportManager();
21: reportManager.init(reportGeneratorConfiguration);
22: return reportManager;
23: }
24: }
|