Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Extending the generator by providing additional sources of data"
(New page: There is an easy mechanism for extending the test message generator so that it can get data from other sources: the <code>org.eclipse.soc.ohftest</code> plugin defines an extension point c...) |
|||
Line 1: | Line 1: | ||
− | There is an easy mechanism for extending the test message generator so that it can get data from other sources: the <code>org.eclipse.soc.ohftest</code> plugin defines an extension point called <code>batchDataSources</code>. In order to use this extension point, a user needs to create a class which implements <code> | + | There is an easy mechanism for extending the test message generator so that it can get data from other sources: the <code>org.eclipse.soc.ohftest</code> plugin defines an extension point called <code>batchDataSources</code>. In order to use this extension point, a user needs to create a class which implements the <code>IBatchDataSource</code> interface, and a factory class for this data source (a class that implements the <code>IBatchDataSourceFactory</code>), which needs to be referenced in the <code>plugin.xml</code> file of the plugin that will be providing the extension. |
Revision as of 04:56, 16 August 2007
There is an easy mechanism for extending the test message generator so that it can get data from other sources: the org.eclipse.soc.ohftest
plugin defines an extension point called batchDataSources
. In order to use this extension point, a user needs to create a class which implements the IBatchDataSource
interface, and a factory class for this data source (a class that implements the IBatchDataSourceFactory
), which needs to be referenced in the plugin.xml
file of the plugin that will be providing the extension.