Package org.jboss.as.server.jmx
Interface RunningStateJmxMBean
-
- All Known Implementing Classes:
RunningStateJmx
public interface RunningStateJmxMBeanMBean allowing people to register listeners for the controlled processs state. Doing this via that JMX Facade to the management model isn't viable since the facade kicks in too late in the startup, which means that the 'jboss.as' and 'jboss.as.expr' domains are not available yet. This bean gets registered on first load of server, and can be listened to across server restarts if using an appropriate mechanism (e.g. -javaagent). Note that the typical ways of registering a listener, either using a remote connector or an internal- Author:
- Emmanuel Hugonnet (c) 2016 Red Hat, inc.
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetProcessState()Process.RunningModegetRunningMode()Process.RunningStategetRunningState()voidsetProcessState(ControlledProcessState.State oldState, ControlledProcessState.State newState)voidsetRunningState(Process.RunningState oldState, Process.RunningState newState)
-
-
-
Field Detail
-
OBJECT_NAME
static final String OBJECT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRunningMode
Process.RunningMode getRunningMode()
-
getProcessState
String getProcessState()
-
getRunningState
Process.RunningState getRunningState()
-
setProcessState
void setProcessState(ControlledProcessState.State oldState, ControlledProcessState.State newState)
-
setRunningState
void setRunningState(Process.RunningState oldState, Process.RunningState newState)
-
-