Class ServerInfo
- java.lang.Object
-
- org.apache.myfaces.tobago.example.demo.ServerInfo
-
@ApplicationScoped @Named("info") public class ServerInfo extends ObjectThe server info class makes some information about the system and application available in the demo. This is enabled by default, but can be disabled by configuration in a properties file with the key"server.info.enabled". The default file name is"/etc/tobago-example-demo.properties". The file name can be changed with a system property with name"org.apache.myfaces.tobago.example.demo.config.file".
-
-
Constructor Summary
Constructors Constructor Description ServerInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJsfTitle()StringgetJsfVersion()StringgetServerInfo()StringgetStableVersion()PropertiesgetSystemProperties()List<Map.Entry<Object,Object>>getSystemPropertiesAsList()StringgetVersion()booleanisEnabled()
-
-
-
Method Detail
-
getServerInfo
public String getServerInfo()
-
getSystemProperties
public Properties getSystemProperties()
-
getVersion
public String getVersion()
-
getJsfTitle
public String getJsfTitle()
-
getJsfVersion
public String getJsfVersion()
-
isEnabled
public boolean isEnabled()
-
getStableVersion
public String getStableVersion()
-
-