public class DefaultReportServiceLocator extends Object implements org.springframework.context.ApplicationContextAware, ReportServiceLocator
DefaultReportServiceLocator class.
Constructor and Description |
---|
DefaultReportServiceLocator() |
Modifier and Type | Method and Description |
---|---|
ReportService |
getReportService(String reportServiceName)
This method is used to retrieve the ReportService bean associated with
|
ReportService |
getReportServiceForId(String reportId)
This method is used to retrieve the ReportService bean associated with a report Id
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setGlobalReportRepository(GlobalReportRepository globalReportRepository) |
public ReportService getReportService(String reportServiceName) throws ReportServiceLocatorException
getReportService
in interface ReportServiceLocator
reportServiceName
- the name of the report service as
as defined in database-reports.xmlReportServiceLocatorException
- if any.public ReportService getReportServiceForId(String reportId) throws ReportServiceLocatorException
getReportServiceForId
in interface ReportServiceLocator
reportId
- the reportID defined in database-reports.xmlReportServiceLocatorException
- if any.public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public void setGlobalReportRepository(GlobalReportRepository globalReportRepository)
Copyright © 2020. All rights reserved.