Class DefaultRestartInitializer

    • Method Detail

      • isMain

        protected boolean isMain​(Thread thread)
        Returns if the thread is for a main invocation. By default checks the name of the thread and the context classloader.
        Parameters:
        thread - the thread to check
        Returns:
        true if the thread is a main invocation
      • getUrls

        protected URL[] getUrls​(Thread thread)
        Return the URLs that should be used with initialization.
        Parameters:
        thread - the source thread
        Returns:
        the URLs