use of org.commonjava.indy.flat.data.DataFileStoreDataManager in project indy by Commonjava.
the class CoreServerProvider method init.
@PostConstruct
public void init() {
try {
folder.create();
this.nfc = new MemoryNotFoundCache();
this.dataFileManager = new DataFileManager(new DataFileConfiguration(folder.newFolder("indy-data")), dataFileEvents);
this.storeManager = new DataFileStoreDataManager(dataFileManager, objectMapper, storeDispatch);
storageConfig.setStorageRootDirectory(folder.newFolder("indy-storage"));
this.xml = new XMLInfrastructure();
this.typeMapper = new StandardTypeMapper();
} catch (IOException e) {
throw new IllegalStateException("Failed to start core server provider: " + e.getMessage(), e);
}
}
Aggregations