private MetaModel readModel() {
// Read Components from the FS
XmlFsPluginThingReaderFactory factory =
new XmlFsPluginThingReaderFactory( CdeEnvironment.getContentAccessFactory() );
XmlFsPluginModelReader metaModelReader = factory.getMetaModelReader();
try {
// read component and property definitions
MetaModel.Builder builder = metaModelReader.read( factory );
// read data source definitions
readDataSourceComponents( builder );
return builder.build();
} catch ( ThingReadException ex ) {
logger.error( "Error while reading model from file system.", ex );