Package org.jboss.as.server.jmx
Interface RunningStateJmxMBean
- All Known Implementing Classes:
RunningStateJmx
public interface RunningStateJmxMBean
MBean 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidsetProcessState(ControlledProcessState.State oldState, ControlledProcessState.State newState) voidsetRunningState(Process.RunningState oldState, Process.RunningState newState)
-
Field Details
-
OBJECT_NAME
- See Also:
-
-
Method Details
-
getRunningMode
Process.RunningMode getRunningMode() -
getProcessState
String getProcessState() -
getRunningState
Process.RunningState getRunningState() -
setProcessState
-
setRunningState
-