};
PagingStoreFactory pageStoreFactory = new PagingStoreFactoryNIO(config.getPagingDirectory(), 1000l, scheduled, executorFactory, false, null);
HierarchicalRepository<AddressSettings> addressSettingsRepository = new HierarchicalObjectRepository<AddressSettings>();
addressSettingsRepository.setDefault(new AddressSettings());
StorageManager sm = new NullStorageManager();
PagingManager manager = new PagingManagerImpl(pageStoreFactory, sm, addressSettingsRepository);
manager.start();
SimpleString stores[] = manager.getStoreNames();
for (SimpleString store : stores)
{
PagingStore pageStore = manager.getPageStore(store);
String folder = null;
if (pageStore != null)
{
folder = pageStore.getFolder();