Package de.xima.fc.fs.config
Class FSServerConfig
- java.lang.Object
-
- de.xima.fc.fs.config.FSServerConfig
-
- All Implemented Interfaces:
IFrontendServerConfig,IServerConfig
@ApplicationScoped public class FSServerConfig extends Object implements IFrontendServerConfig
Current settings of the frontend server.- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FSServerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getFeatures()Returns a set of features this server provides.longgetFrontendServerId()Returns the ID of the frontend server.Map<String,String>getProperties()StringgetServerProperty(String key)Returns the value of the server property with the given key.IntegergetSessionTimeoutMinutes()Set<UserPortal>getUserPortals()Returns all user portals that are enabled on this server.voidupdateFSConfigFile()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.server.IServerConfig
hasFeature, hasFeature
-
-
-
-
Method Detail
-
getFeatures
public Set<String> getFeatures()
Description copied from interface:IServerConfigReturns a set of features this server provides.- Specified by:
getFeaturesin interfaceIServerConfig- Returns:
- A set of features this server provides.
-
getFrontendServerId
public long getFrontendServerId()
Description copied from interface:IFrontendServerConfigReturns the ID of the frontend server.- Specified by:
getFrontendServerIdin interfaceIFrontendServerConfig- Returns:
- the ID of the frontend server.
-
getServerProperty
public String getServerProperty(String key)
Description copied from interface:IServerConfigReturns the value of the server property with the given key.- Specified by:
getServerPropertyin interfaceIServerConfig- Parameters:
key- the key of the server property.- Returns:
- the value of the server property with the given key. If the property does not exist,
nullis returned.
-
getSessionTimeoutMinutes
public Integer getSessionTimeoutMinutes()
- Specified by:
getSessionTimeoutMinutesin interfaceIServerConfig- Returns:
- the configured session timeout in minutes, or
nullif not configured.
-
getUserPortals
public Set<UserPortal> getUserPortals()
Description copied from interface:IServerConfigReturns all user portals that are enabled on this server.- Specified by:
getUserPortalsin interfaceIServerConfig- Returns:
- a set of all user portals that are enabled on this server.
-
updateFSConfigFile
public void updateFSConfigFile()
-
-