Details
-
Improvement
-
Status: Approved
-
Should
-
Resolution: Fixed
-
Reference Application 2.10.0
-
None
-
L
Description
1. Description
Reference Metadata's activator scans for all beans that implement ReportManager which is intrusive (see here):
ReportManagerUtil.setupAllReports(ReportManager.class);
This may end up installing unwanted reports whose report manager happen to be available as a bean.
2. Suggested Solution
Let us have all Reference Application built-in reports's report managers to extend their own class -say- ReferenceApplicationReportManager and filter them on that basis:
ReportManagerUtil.setupAllReports(ReferenceApplicationReportManager.class);