Interface PlatformProvider


  • public interface PlatformProvider
    • Method Detail

      • onStartup

        void onStartup​(Runnable runnable)
      • onShutdown

        void onShutdown​(Runnable runnable)
      • getTmpDirectory

        File getTmpDirectory()
        Returns:
        tmp directory specific to target platform. Implementation can make sure to create "tmp" directory in case it does not exists. The directory should be usually inside the corresponding server directory. In production, it should not be system directory like "/tmp" .