Search in sources :

Example 1 with MetadataLoader

use of com.haulmont.cuba.core.sys.MetadataLoader in project cuba by cuba-platform.

the class TestMetadataClient method initMetadata.

@Override
protected void initMetadata() {
    MetadataLoader metadataLoader = new TestMetadataLoader(packages);
    ((TestMetadataLoader) metadataLoader).setDatatypeRegistry(datatypeRegistry);
    metadataLoader.loadMetadata();
    rootPackages = metadataLoader.getRootPackages();
    this.session = metadataLoader.getSession();
}
Also used : MetadataLoader(com.haulmont.cuba.core.sys.MetadataLoader)

Aggregations

MetadataLoader (com.haulmont.cuba.core.sys.MetadataLoader)1