2006 IR Open Discussion Posted September 2, 2006 Share Posted September 2, 2006 By: Cameron Taggart - ctaggart IReportCompiler refactor suggestion 2006-07-06 14:35I created a custom datasource (ireport connection). It would be nice if what I am trying to do could be packaged into a plugin. It makes me wonder if OSGi could be of use. ... back to reality ... I think IReportCompiler can be refactored by encapsulating the fill report logic in IReportConnection. Just add a method IReportConnection.fillReport(String filename, Map parameters) which returns JasperPrint. This is around line 711 in IReportCompiler, just after hm = (HashMap)connection.getSpecialParameters( hm );. cheers, Cameron Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now