JBoss Community

Re: Overall control of graceful shutdown

created by Emanuel Muckenhuber in JBoss AS7 Development - View the full discussion

Brian Stansberry wrote:

 

The dependencies aren't really artificial. The service that depends on the connector has a real job to do -- figuring out when long running work the needs an open connector is completed. It will of course delegate to other services for a lot of things, but I bet it will end up having some significant logic.

"artificial dependencies" in a sense that e.g. in jboss.web nothing really has a dependency on a connector. Where this graceful shutdown handler would need a dependency on all configured connectors preventing them to shutdown. Which basically means that connectors have to be started before the deployment is deployed and stopped after undeployment. This seems to conflict a bit with JBAS-8423 - where we maybe can just separate between starting connectors late in the process and use the dependencies to control the graceful shutdown.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community