joka83 Posted April 16, 2011 Share Posted April 16, 2011 hey everybody, I got a few problems in understanding the application-context file for the javabeans datasource example :( <bean id="myCustomDataSource" class="com.jaspersoft.jasperserver.api.engine.jasperreports.util.CustomDataSourceDefinition"> <property name="factory" ref="customDataSourceServiceFactory"/> <property name="name" value="myCustomDataSource"/> <property name="serviceClassName" value="example.cds.CustomSimplifiedDataSourceService"/> I dont understand all of these elements...What I understand is, that <property name="serviceClassName" value="example.cds.CustomSimplifiedDataSourceService"/> should point to the javaclass, which implements ReportDataSourceService . but I dont understand the firs 3 lines:I assume, that "bean id" just needs to be a unique key to identify the bean, but which class do I need to call there?And what about line 2 and 3? I neither find files nor methods named "customDataSourceServiceFactory" or "myCustomDataSource" in the whole sample project :( I think I just need a push into the right direction ... plz help me out :( regards Link to comment Share on other sites More sharing options...
tkavanagh Posted April 18, 2011 Share Posted April 18, 2011 Are you working off of the <js-install>/samples/customDataSource example? And does the readme.txt in that folder help? If not, probably we need to add additional info about the actual configuration to the readme.txt. 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