Interface DataStoreFactory


public interface DataStoreFactory
The DataStoreFactory can be used to create new or get existing DataStores.
You can either create a global DataStore or a DataStore for a specific repository. To create a global DataStore call:
     dataStoreFactory
       .withType(PersistedType.class)
       .withName("name")
       .build();
 
To create a DataStore for a specific repository call:
     dataStoreFactory
       .withType(PersistedType.class)
       .withName("name")
       .forRepository(repository)
       .build();
 
Since:
1.23