- public static DistributedDataStore createInstance(String name, SchemaService schemaService){
- ActorSystem actorSystem = ActorSystemFactory.getInstance();
+ public static DistributedDataStore createInstance(String name, SchemaService schemaService,
+ DatastoreContext datastoreContext, BundleContext bundleContext) {
+
+ ActorSystem actorSystem = ActorSystemFactory.createInstance(bundleContext);
+ Configuration config = new ConfigurationImpl("module-shards.conf", "modules.conf");