Class VersionXml

java.lang.Object
org.eclnt.jsfserver.util.VersionXml

public class VersionXml extends Object
Reader for /eclntjsfserver/version.xml properties.
  • Field Details

  • Constructor Details

    • VersionXml

      public VersionXml()
  • Method Details

    • init

      public static void init(javax.servlet.ServletContext servletContext)
      Called by InitElcntJsfServer.
    • overrideJakarta

      public static void overrideJakarta(boolean value)
      By default the mechanism to find out if running in Jakarta-environment automatically checks the availability of corresponding classes. BUT: this can be overridden for special situations. Example: in the own - non-Jakarta-based tooling - the transfer is called in order to create the base-Jakarta-version. In this case the calling environment is NOT Jakarta.
    • getVersion

      public static String getVersion()
      Returns the version of the current CaptinCasa runtime.
    • getVersion

      public static String getVersion(String xml)
    • checkIfOwnUIImplementation

      public static boolean checkIfOwnUIImplementation()
      Check if the runtime is using the own mini-faces implementation of CaptainCasa.
    • checkIfJakarta

      public static boolean checkIfJakarta()
      Check if the runtime is running in a Jakarta EE environment.