- All Implemented Interfaces:
- org.jboss.msc.service.Service<Void>, org.jboss.msc.value.Value<Void>
public class HttpShutdownService
extends Object
implements org.jboss.msc.service.Service<Void>
Service preventing the http service from shutting down and closing the channels before
the operation was able to complete. This is mainly important to be able to write the prepared response
for lifecycle operations (:reload, :shutdown).
In general this service needs to set up a service dependency on the management http server, so that it cannot shutdown
until this service #stop()
method completes.
Beside active http requests this also waits for all other active management requests, since in case http-upgrade
was used mgmt operations are now tracked using the ManagementChannelOpenListenerService.
- Author:
- Emanuel Muckenhuber