aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-sig-lib/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'moaSig/moa-sig-lib/src/main/java')
-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) {