diff options
Diffstat (limited to 'spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/beans/InitPropertiesBean.java')
-rw-r--r-- | spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/beans/InitPropertiesBean.java | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/beans/InitPropertiesBean.java b/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/beans/InitPropertiesBean.java deleted file mode 100644 index 8cb7e0a41..000000000 --- a/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/beans/InitPropertiesBean.java +++ /dev/null @@ -1,36 +0,0 @@ -package at.gv.egovernment.moa.spss.slinterface.beans; - -import java.util.Properties; - -import org.apache.log4j.Logger; - -import at.gv.egovernment.moa.spss.slinterface.Constants; - -/** - * @author Gregor Karlinger (mailto:gregor.karlinger@siemens.com) - */ -public class InitPropertiesBean -{ - private Properties initProps_; - - private static Logger logger_ = Logger.getLogger(Constants.LH_BEANS_); - - public InitPropertiesBean(Properties props) - { - initProps_ = props; - } - - public String getMOASLWebAppURL() - { - String webAppServerURLProp = initProps_.getProperty(Constants.IP_REW_MOASL_WEBAPPSERV_URL_); - logger_.debug("MOA SL Web application server URL property: " + webAppServerURLProp); - if (webAppServerURLProp == null || webAppServerURLProp.trim().length() == 0) - { - String defaultWebAppServerURL = "http://localhost:8080"; - logger_.info("MOA SL Web application server URL property not available, using default (" + defaultWebAppServerURL + ")"); - return defaultWebAppServerURL; - } - else return webAppServerURLProp; - - } -} |