Interface ProcessStateListener
-
public interface ProcessStateListener- Author:
- Jeff Mesnil (c) 2016 Red Hat inc.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcleanup()Cleanup the listener before removing it.default voidinit(ProcessStateListenerInitParameters parameters)Initialize the listener.default voidrunningStateChanged(RunningStateChangeEvent evt)Called when the running state changes.default voidruntimeConfigurationStateChanged(RuntimeConfigurationStateChangeEvent evt)Called when the runtime configuration changes.
-
-
-
Method Detail
-
init
default void init(ProcessStateListenerInitParameters parameters)
Initialize the listener. This should not throw an exception.- Parameters:
parameters- the parameters to initialize the listener.
-
cleanup
default void cleanup()
Cleanup the listener before removing it. This should not throw an exception.
-
runtimeConfigurationStateChanged
default void runtimeConfigurationStateChanged(RuntimeConfigurationStateChangeEvent evt)
Called when the runtime configuration changes.- Parameters:
evt- the runtime configuration state change event.
-
runningStateChanged
default void runningStateChanged(RunningStateChangeEvent evt)
Called when the running state changes. This will NEVER be called on a HostController.- Parameters:
evt- the running state change event.
-
-