private final NoTxKeyValueTable table;
@Inject
public DatasetServiceStore(CConfiguration cConf, DatasetDefinitionRegistryFactory dsRegistryFactory,
@Named("serviceModule") DatasetModule datasetModule) throws Exception {
DatasetFramework dsFramework =
new NamespacedDatasetFramework(new InMemoryDatasetFramework(dsRegistryFactory),
new DefaultDatasetNamespace(cConf, Namespace.SYSTEM));
dsFramework.addModule("basicKVTable", datasetModule);
table = DatasetsUtil.getOrCreateDataset(dsFramework, Constants.Service.SERVICE_INSTANCE_TABLE_NAME,
NoTxKeyValueTable.class.getName(),
DatasetProperties.EMPTY, null, null);
}