Class CommandLineStartup


  • public final class CommandLineStartup
    extends Object
    This class defines command-line Ignite startup. This startup can be used to start Ignite outside of any hosting environment from command line. This startup is a Java application with main(String[]) method that accepts command line arguments. It accepts just one parameter which is Spring XML configuration file path. You can run this class from command line without parameters to get help message.

    Note that scripts ${IGNITE_HOME}/bin/ignite.{sh|bat} shipped with Ignite use this startup and you can use them as an example.

    • Method Detail

      • isHelp

        public static boolean isHelp​(String arg)
        Tests whether argument is help argument.
        Parameters:
        arg - Command line argument.
        Returns:
        true if given argument is a help argument, false otherwise.
      • main

        public static void main​(String[] args)
        Main entry point.
        Parameters:
        args - Command line arguments.