aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-02-13 10:25:29 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-02-13 10:25:29 +0100
commit05449aee540c18fd766ae667d8e0a2f1d84281f7 (patch)
treedcab971e80fc44ea5971a4ec0771beffdc8b1400 /moaSig/moa-sig-lib/src/main/java/at/gv/egovernment
parentbea447f643c2ca8f6c2d770b826f84b840488a54 (diff)
downloadmoa-sig-05449aee540c18fd766ae667d8e0a2f1d84281f7.tar.gz
moa-sig-05449aee540c18fd766ae667d8e0a2f1d84281f7.tar.bz2
moa-sig-05449aee540c18fd766ae667d8e0a2f1d84281f7.zip
update TSL monitoring servlet
update TSL libs/tsl-lib-2.0.1.jar
Diffstat (limited to 'moaSig/moa-sig-lib/src/main/java/at/gv/egovernment')
-rw-r--r--moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/monitoring/ServiceStatusContainer.java17
1 files changed, 14 insertions, 3 deletions
diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/monitoring/ServiceStatusContainer.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/monitoring/ServiceStatusContainer.java
index 88e6474..3d100a4 100644
--- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/monitoring/ServiceStatusContainer.java
+++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/monitoring/ServiceStatusContainer.java
@@ -1,6 +1,9 @@
package at.gv.egovernment.moa.spss.server.monitoring;
-import at.gv.egovernment.moaspss.util.StringUtils;
+import java.util.List;
+
+import at.gv.egovernment.moa.sig.tsl.engine.data.TSLProcessingResultElement;
+import at.gv.egovernment.moa.spss.tsl.TSLServiceFactory;
public class ServiceStatusContainer {
@@ -9,7 +12,7 @@ public class ServiceStatusContainer {
private static boolean TSLStatusValid = false;
private static String TSLStatusMsg = STATUS_NOT_SET;
-
+ private static List<TSLProcessingResultElement> tslDetailStatus = null;
public static boolean getStatus() {
return TSLStatusValid;
@@ -20,9 +23,17 @@ public class ServiceStatusContainer {
return TSLStatusMsg;
}
-
+
+ public static List<TSLProcessingResultElement> getTslDetailStatus() {
+ return tslDetailStatus;
+ }
+
public static void setStatus(boolean currentStatus) {
TSLStatusValid = currentStatus;
+
+ if (TSLServiceFactory.isInitialized())
+ tslDetailStatus = TSLServiceFactory.getTSLServiceClient().getCurrentTSLClientStatus();
+
}
public static void setStatusMsg(String msg) {