private final List<ResourceTransactionListener> listeners = new CopyOnWriteArrayList<>();
public void startup(@Observes @Local PostStartup startup) throws Exception
{
File xaDiskHome = OperatingSystemUtils.createTempDir();
StandaloneFileSystemConfiguration config = new StandaloneFileSystemConfiguration(
xaDiskHome.getAbsolutePath(), "furnace-instance");
config.setTransactionTimeout(600);
// XADISK-95
if (OperatingSystemUtils.isWindows())
{
config.setSynchronizeDirectoryChanges(Boolean.FALSE);
}
this.fileSystem = XAFileSystemProxy.bootNativeXAFileSystem(config);
this.fileSystem.waitForBootup(10000);
}