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
- Author:
- Emmanuel Hugonnet (c) 2016 Red Hat, inc.
-
Field Summary
Fields inherited from interface org.jboss.as.server.jmx.RunningStateJmxMBean
OBJECT_NAME -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterMBean(ProcessStateNotifier processStateNotifier, ServerSuspendController 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 Details
-
getProcessState
- Specified by:
getProcessStatein interfaceRunningStateJmxMBean
-
getRunningState
- Specified by:
getRunningStatein interfaceRunningStateJmxMBean
-
getRunningMode
- Specified by:
getRunningModein interfaceRunningStateJmxMBean
-
getNotificationInfo
- Specified by:
getNotificationInfoin interfaceNotificationBroadcaster- Overrides:
getNotificationInfoin classNotificationBroadcasterSupport
-
setProcessState
public void setProcessState(ControlledProcessState.State oldState, ControlledProcessState.State newState) - Specified by:
setProcessStatein interfaceRunningStateJmxMBean
-
setRunningState
- Specified by:
setRunningStatein interfaceRunningStateJmxMBean
-
registerMBean
public static void registerMBean(ProcessStateNotifier processStateNotifier, ServerSuspendController suspendController, RunningModeControl runningModeControl, boolean isServer)
-