Interface ReportServiceLocator
-
- All Known Implementing Classes:
DefaultReportServiceLocator
public interface ReportServiceLocator
This class provides a simple mechanism for returning the ReportService bean for a given reportId- Author:
- Jonathan Sartin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReportService
getReportService(java.lang.String reportServiceName)
This method is used to retrieve the ReportService bean associated withReportService
getReportServiceForId(java.lang.String reportId)
This method is used to retrieve the ReportService bean associated with a report Id
-
-
-
Method Detail
-
getReportService
ReportService getReportService(java.lang.String reportServiceName) throws ReportServiceLocatorException
This method is used to retrieve the ReportService bean associated with- Parameters:
reportServiceName
- the name of the report service as as defined in database-reports.xml- Returns:
- the ReportService bean used to run this report
- Throws:
ReportServiceLocatorException
- if any.
-
getReportServiceForId
ReportService getReportServiceForId(java.lang.String reportId) throws ReportServiceLocatorException
This method is used to retrieve the ReportService bean associated with a report Id- Parameters:
reportId
- the reportID defined in database-reports.xml- Returns:
- the ReportService bean used to run this report
- Throws:
ReportServiceLocatorException
- if any.
-
-