[OmniFaces utilities] The
getServerInfo()
method returns the server information of currently running application server implementation.Method:
See also: Faces#getServletContext()
import
org.omnifaces.util.Faces;
...
String info
= Faces.getServerInfo();
//e.g. WildFly
8.2.0.Final - 1.1.0.Final
GlassFish Server Open Source
Edition 4.1
or,
import
static org.omnifaces.util.Faces.getServerInfo;
...
String info
= getServerInfo();
//e.g. WildFly
8.2.0.Final - 1.1.0.Final
GlassFish Server Open Source
Edition 4.1
Niciun comentariu :
Trimiteți un comentariu