DSL builder for ServiceManager.Listener that allows setting callbacks for healthy, stopped, and failure lifecycle events. Setting a callback again replaces the earlier one.
Sets the callback invoked when a service fails.
Sets the callback invoked when all services are healthy.
Sets the callback invoked when all services have stopped.