Class GlassFish3xInstalledLocalContainer

    • Constructor Detail

      • GlassFish3xInstalledLocalContainer

        public GlassFish3xInstalledLocalContainer​(LocalConfiguration localConfiguration)
        Calls parent constructor, which saves the configuration.
        Parameters:
        localConfiguration - Configuration.
    • Method Detail

      • getId

        public String getId()
        Returns:
        the short name of the container. Note: this is not a unique id. It is simply the name in a computer-usable format.
      • getName

        public String getName()
        Returns:
        the human readable name of the Container (ex: "Resin 3.x", "JBoss 3.0.8", etc).
      • getVersion

        protected String getVersion​(String defaultVersion)
        Parse installed GlassFish version.
        Parameters:
        defaultVersion - the version used if the exact GlassFish version can't be determined
        Returns:
        the GlassFish version, or defaultVersion if the version number could not be determined.