code: private static File newTempDirectory() {
          String tempDirName = System.getProperty(JBOSS_SERVER_TMPDIR);
          if (tempDirName == null) {
              tempDirName = System.getProperty(JAVA_IO_TMPDIR);
          }
          if (tempDirName == null) {
              throw new SystemFailureException(JcrI18n.tempDirectorySystemPropertyMustBeSet.text(JAVA_IO_TMPDIR));
          }
          File tempDir = new File(tempDirName);
  
          // Create a temporary directory in the "java.io.tmpdir" directory ...
          return new File(tempDir, "modeshape-binary-store");
      }
docs: Obtain a new temporary directory that can be used by a transient binary store. Note that none of the directories are
  actually created at this time, but are instead created (if needed) during {@link #initializeStorage(File)}.
  
  @return the new directory; never null