...
Metadata datasources and associated locale files are stored in JCR under /etc/metadata/<file> where <file> is a JCR node with a random UUID as name that contains the XMI schema plus containing the metadata schema. Since Domain IDs are the unique identifier for Pentaho Metadata domains and may contain any character (including repository folder separator character(s) like '/', a UUID is created to store each file. The metadata for the file will be used to store the information (such as the Domain ID).The JCR node also contains the following properties:
...
org.pentaho.platform.plugin.services.importer.MetadataImportHandler
Is the registered Registered handler in the platform to process Metadata metadata schemas.
org.pentaho.platform.plugin.services.metadata.IPentahoMetadataDomainRepositoryImporter
Is the interface Interface that defines the API of the importer.
org.pentaho.platform.plugin.services.metadata.PentahoMetadataDomainRepository
Is the concrete Concrete implementation for the Metadata metadata importer.