Package org.eclnt.jsfserver.util
Class VersionXml
java.lang.Object
org.eclnt.jsfserver.util.VersionXml
Reader for /eclntjsfserver/version.xml properties.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check if the runtime is running in a Jakarta EE environment.static boolean
Check if the runtime is using the own mini-faces implementation of CaptainCasa.static String
Returns the version of the current CaptinCasa runtime.static String
getVersion
(String xml) static void
init
(javax.servlet.ServletContext servletContext) Called by InitElcntJsfServer.static void
overrideJakarta
(boolean value) By default the mechanism to find out if running in Jakarta-environment automatically checks the availability of corresponding classes.
-
Field Details
-
PATH_VERSIONXML_JAR
- See Also:
-
-
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
Returns the version of the current CaptinCasa runtime. -
getVersion
-
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.
-