EnumFileAccessMode.NIO_RANDOM_FILE_ACCESS, dataFile, false,
false, false, false, 1, 0, null);
dataManager = new HeapFileDataManager(setup, false);
final HeapRecordableManager heapRecordableManager = new HeapRecordableManager(
dataManager);
final HelperBinaryConversion helperBinaryConversion = new HelperBinaryConversion();
final StoreHeader storeHeader = new StoreHeader(
heapRecordableManager, helperBinaryConversion);
final ClassInfoFactory classInfoFactory =
/**/new ClassInfoFactory(1);
classInfoFactory.setConversionManager(new ConversionManager(
classInfoFactory));
final ClassNameManager classNameManager = new ClassNameManager(
heapRecordableManager, storeHeader, classInfoFactory,
helperBinaryConversion);
final StoreSynchro storeSynchro = new StoreSynchro();
objectIOManager = new ObjectIOManager(1, dataManager,
false/* proxyMode */, classNameManager, storeSynchro,
classInfoFactory, helperBinaryConversion, null/*
* no proxy
* manager
*/);
helperBinaryConversion
.initialize(classInfoFactory, objectIOManager);
} catch (HeapException exception) {
throw new FilePersistenceException(exception);
} catch (ObjectIOException exception) {
throw new FilePersistenceException(exception);