[jboss-dev-forums] [JBoss AS7 Development] - Re: Overall control of graceful shutdown

Jason Greene do-not-reply at jboss.com
Tue Sep 21 13:22:23 EDT 2010


Jason Greene [http://community.jboss.org/people/jason.greene%40jboss.com] created the discussion

"Re: Overall control of graceful shutdown"

To view the discussion, visit: http://community.jboss.org/message/562951#562951

--------------------------------------------------------------
> Brian Stansberry wrote:
> 
> Something to think about is how all this can apply to a "graceful undeploy" notion. A graceful undeploy is just a more limited scope for the above. So, possibly a service that is part of a deployment could have a "GracefulUndeployService" injected, with which it could register a callback. The trick would be having that GracefulUndeployService have the correct scope; i.e. it's not an AS-wide singleton like GracefulShutdownService.
Is this really needed? Couldn't the services that make up a deployment could just use the same GracefulShutdownService? E.g you could have a DeploymentSessionManager which owns all sessions associated with a deployment, or has the ability to clean them up.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/562951#562951]

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/20100921/ef5a202a/attachment.html 


More information about the jboss-dev-forums mailing list