[jboss-dev-forums] [JBoss AS7 Development] - Re: Overall control of graceful shutdown
Emanuel Muckenhuber
do-not-reply at jboss.com
Wed Sep 22 08:00:59 EDT 2010
Emanuel Muckenhuber [http://community.jboss.org/people/emuckenhuber] created the discussion
"Re: Overall control of graceful shutdown"
To view the discussion, visit: http://community.jboss.org/message/563047#563047
--------------------------------------------------------------
Not sure if i understand you correctly... Are you saying that the graceful shutdown would part of a normal service lifecycle. With service i mean org.jboss.msc.Service, where the lifecycle is also managed by MSC? Where e.g. stop(StopContext) would register the GracefulShutdownTerminator used by AS to signal the service promptly shutdown?
If that's the case i'm not sure if that will work, since usually deployments depend on the connector - which means that when stopping the server, deployments would get undeployed before the connector.stop() is invoked. Where actually the connector should be started after deployment is completed and stopped (in a graceful manner or not) before undeployment begins.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/563047#563047]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100922/5950e50c/attachment.html
More information about the jboss-dev-forums
mailing list