Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 737 Bytes

File metadata and controls

16 lines (10 loc) · 737 Bytes
Custom Implementation Classes

If you need to implement a custom mechanism of loading entities, create a custom datasource class inherited from CustomCollectionDatasource, CustomGroupDatasource, or CustomHierarchicalDatasource, and implement the getEntities() method.

For example:

link:../../../../../../source/gui/datasources_5.java[role=include]

To create a custom datasource instance declaratively, specify the custom class name in the datasourceClass attribute of the datasource XML element. In case of programmatic creation via DsBuilder, specify the class by invoking setDsClass() or as a parameter of one of the build*() methods.