Class Jetty7xInstalledLocalContainer

    • Field Detail

      • defaultFinalOptions

        protected String defaultFinalOptions
        Jetty default options.
    • Constructor Detail

      • Jetty7xInstalledLocalContainer

        public Jetty7xInstalledLocalContainer​(LocalConfiguration configuration)
        Jetty7xInstalledLocalContainer Constructor.
        Parameters:
        configuration - The configuration associated with the container
    • Method Detail

      • invoke

        protected void invoke​(JvmLauncher java,
                              boolean isGettingStarted)
                       throws Exception
        Overrides:
        invoke in class Jetty6xInstalledLocalContainer
        Parameters:
        java - the predefined JVM launcher to use to start the container, passed by Cargo
        isGettingStarted - if true then start the container, stop it otherwise
        Throws:
        Exception - in case of startup or shutdown error
      • getStartArguments

        protected String[] getStartArguments​(String classpath)
        Returns the arguments to pass to the Jetty start command.
        Overrides:
        getStartArguments in class Jetty6xInstalledLocalContainer
        Parameters:
        classpath - Jetty classpath (exludes tools.jar).
        Returns:
        Arguments to add to the Jetty start.jar command.
      • getOptions

        protected String getOptions()
        Returns:
        Jetty OPTIONS argument.