public class ServerModule
extends java.lang.Object
The intention of this module class is to get the configuration once and keep
relevant informations during a (WEB,Client) session by forwarding the object
until the session times out or the user leaves the application.
Developing Note:
SEHR applications should use this class to prevent time in coding.
An external application like 'sehr-hco' may extend this class and a lot of
interfacing is done :)
Modifier and Type | Field and Description |
---|---|
protected boolean |
isSEHROSICompatible |
protected boolean |
isSEHRRunning |
protected java.util.Locale |
locale |
protected static java.util.logging.Logger |
Log |
protected java.lang.String |
logfile |
protected java.util.Properties |
pModule |
protected java.lang.String |
propfile |
protected SEHRConfigurationObject |
sco |
protected java.lang.String |
title |
Constructor and Description |
---|
ServerModule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory()
Returns the defined module category of SEHR by the property file
|
SEHRConfigurationObject |
getCfg() |
java.util.Locale |
getLocale() |
java.lang.String |
getLogo() |
java.lang.String |
getProperty(java.lang.String key) |
int |
getRelease() |
java.lang.String |
getTitle() |
java.lang.String |
getVersion() |
boolean |
isSEHROSICompatible()
Returns the status check of SEHR OSI compatibility.
|
boolean |
isSEHRRunning()
Returns the status of accessing the SEHR configuration file as an indicator
if SEHR is running.
|
static void |
main(java.lang.String[] args)
For testing purposes.
|
void |
setCfg(SEHRConfigurationObject sco) |
void |
setLocale(java.util.Locale locale) |
void |
setTitle(java.lang.String s) |
protected static final java.util.logging.Logger Log
protected java.lang.String logfile
protected java.lang.String propfile
protected java.util.Properties pModule
protected SEHRConfigurationObject sco
protected boolean isSEHROSICompatible
protected boolean isSEHRRunning
protected java.lang.String title
protected java.util.Locale locale
public SEHRConfigurationObject getCfg()
public void setCfg(SEHRConfigurationObject sco)
public boolean isSEHRRunning()
public boolean isSEHROSICompatible()
public java.lang.String getCategory()
public java.lang.String getVersion()
public int getRelease()
public java.lang.String getLogo()
public java.lang.String getTitle()
public void setTitle(java.lang.String s)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
public java.lang.String getProperty(java.lang.String key)
public static void main(java.lang.String[] args)
args
-