Package org.jboss.as.server.jmx
Class RunningStateJmx
- java.lang.Object
-
- javax.management.NotificationBroadcasterSupport
-
- org.jboss.as.server.jmx.RunningStateJmx
-
- All Implemented Interfaces:
NotificationBroadcaster,NotificationEmitter,RunningStateJmxMBean
public class RunningStateJmx extends NotificationBroadcasterSupport implements RunningStateJmxMBean
- Author:
- Emmanuel Hugonnet (c) 2016 Red Hat, inc.
-
-
Field Summary
-
Fields inherited from interface org.jboss.as.server.jmx.RunningStateJmxMBean
OBJECT_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MBeanNotificationInfo[]getNotificationInfo()StringgetProcessState()Process.RunningModegetRunningMode()Process.RunningStategetRunningState()static voidregisterMBean(ProcessStateNotifier processStateNotifier, SuspendController suspendController, RunningModeControl runningModeControl, boolean isServer)voidsetProcessState(ControlledProcessState.State oldState, ControlledProcessState.State newState)voidsetRunningState(Process.RunningState oldState, Process.RunningState newState)-
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
-
-
-
Method Detail
-
getProcessState
public String getProcessState()
- Specified by:
getProcessStatein interfaceRunningStateJmxMBean
-
getRunningState
public Process.RunningState getRunningState()
- Specified by:
getRunningStatein interfaceRunningStateJmxMBean
-
getRunningMode
public Process.RunningMode getRunningMode()
- Specified by:
getRunningModein interfaceRunningStateJmxMBean
-
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfoin interfaceNotificationBroadcaster- Overrides:
getNotificationInfoin classNotificationBroadcasterSupport
-
setProcessState
public void setProcessState(ControlledProcessState.State oldState, ControlledProcessState.State newState)
- Specified by:
setProcessStatein interfaceRunningStateJmxMBean
-
setRunningState
public void setRunningState(Process.RunningState oldState, Process.RunningState newState)
- Specified by:
setRunningStatein interfaceRunningStateJmxMBean
-
registerMBean
public static void registerMBean(ProcessStateNotifier processStateNotifier, SuspendController suspendController, RunningModeControl runningModeControl, boolean isServer)
-
-