Interface ProcessStateListener
public interface ProcessStateListener
- Author:
- Jeff Mesnil (c) 2016 Red Hat inc.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcleanup()Cleanup the listener before removing it.default voidinit(ProcessStateListenerInitParameters parameters) Initialize the listener.default voidCalled when the running state changes.default voidCalled when the runtime configuration changes.
-
Method Details
-
init
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
Called when the runtime configuration changes.- Parameters:
evt- the runtime configuration state change event.
-
runningStateChanged
Called when the running state changes. This will NEVER be called on a HostController.- Parameters:
evt- the running state change event.
-