Interface ContainerDescription


  • public interface ContainerDescription
    Information about the running container.
    Author:
    James R. Perkins
    • Method Detail

      • getProductName

        String getProductName()
        Returns the name of the product.
        Returns:
        the name of the product
      • getProductVersion

        String getProductVersion()
        Returns the product version, if defined, or null if the product version was not defined.
        Returns:
        the product version or null if not defined
      • getReleaseCodename

        String getReleaseCodename()
        Returns the release codename, if defined, or null if the codename was not defined.
        Returns:
        the codename or null if not defined
      • getReleaseVersion

        String getReleaseVersion()
        Returns the release version, if defined, or null if the release version was not defined.

        Note that in WildFly 9+ this is usually the version for WildFly Core. In WildFly 8 this is the full version.

        Returns:
        the release version or null if not defined
      • lookup

        static ContainerDescription lookup​(ManagementClient client)
                                    throws IOException
        Queries the running container and attempts to lookup the information from the running container.
        Parameters:
        client - the client used to execute the management operation
        Returns:
        the container description
        Throws:
        IOException - if an error occurs while executing the management operation