Package com.attivio.sysstate
Class SystemState
- java.lang.Object
-
- com.attivio.sysstate.SystemState
-
public final class SystemState extends java.lang.Object
Contains handy static method for getting the configured SystemStateMonitor. This monitor is generally configured via a spring bean in the admin-api-beans.xml file.
-
-
Constructor Summary
Constructors Constructor Description SystemState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemStateMonitor
instance()
static void
setMonitor(SystemStateMonitor sysMonitor)
Sets the global system state monitor
-
-
-
Method Detail
-
instance
public static SystemStateMonitor instance()
- Returns:
- the configured singleton SystemStateMonitor
-
setMonitor
public static void setMonitor(SystemStateMonitor sysMonitor)
Sets the global system state monitor- Parameters:
sysMonitor
-
-
-