public class WebApps extends java.lang.Object
|Modifier and Type||Field and Description|
The application for the whole installation.
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns this Web application, or null if not available.
Returns the edition, such as EE, PE and CE.
Returns whether the specified feature is supported.
protected static WebApp _wapp
public static WebApp getCurrent()
Notice that this method is useful only if ZK libraries are
NOT shared by multiple Web application (in other words,
they are installed under
If you share ZK libraries among multiple applications (such as
installing them under
shared/lib), the returned instance could
be any of them.
If you share ZK libraries among multiple applications, you could retrieve the current Web application by one of the following depending your context.
Sessions.getCurrent(boolean)returns null if it executes in a working thread (without
WebManager.getWebManager(javax.servlet.ServletContext)requires a servlet context.
public static boolean getFeature(java.lang.String feature)
feature- which feature to check. Supported features:
public static java.lang.String getEdition()
Copyright © 2005-2020 Potix Corporation. All Rights Reserved.