Package org.serviceconnector.conf
Class WebConfiguration
java.lang.Object
org.serviceconnector.conf.WebConfiguration
The Class WebConfiguration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the color schemeGets the page header prefix.Gets the sc download service.Gets the sc upload service.intGets the web session schedule timeout seconds.intGets the web session timeout minutes.booleanChecks if is SC can be terminated from the GUI.booleanChecks if is translet enabled.voidload(org.apache.commons.configuration2.CompositeConfiguration compositeConfiguration) Loads web parameters from properties file.
Service Connector web parameters:
web.xslTransformationCache.enabled=true
-
Constructor Details
-
WebConfiguration
public WebConfiguration()Instantiates a new SCMP cache configuration.
-
-
Method Details
-
load
public void load(org.apache.commons.configuration2.CompositeConfiguration compositeConfiguration) throws Exception Loads web parameters from properties file.
Service Connector web parameters:
web.xslTransformationCache.enabled=true- Parameters:
compositeConfiguration- the composite configuration- Throws:
Exception- the exception
-
isTransletEnabled
public boolean isTransletEnabled()Checks if is translet enabled.- Returns:
- true, if is translet enabled
-
getWebSessionScheduleTimeoutSeconds
public int getWebSessionScheduleTimeoutSeconds()Gets the web session schedule timeout seconds.- Returns:
- the web session schedule timeout seconds
-
getWebSessionTimeoutMinutes
public int getWebSessionTimeoutMinutes()Gets the web session timeout minutes.- Returns:
- the web session timeout minutes
-
getPageHeaderPrefix
Gets the page header prefix.- Returns:
- the page header prefix
-
getScDownloadService
Gets the sc download service.- Returns:
- the sc download service
-
getScUploadService
Gets the sc upload service.- Returns:
- the sc upload service
-
isScTerminateAllowed
public boolean isScTerminateAllowed()Checks if is SC can be terminated from the GUI.- Returns:
- true, if termination is allowed
-
getColorScheme
Gets the color scheme- Returns:
- the color scheme name
-