[jboss-dev-forums] [JBoss AS7 Development] - Re: Asynchronous results from executing a deployment plan

Brian Stansberry do-not-reply at jboss.com
Thu Sep 9 12:45:48 EDT 2010


Brian Stansberry [http://community.jboss.org/people/bstansberry%40jboss.com] created the discussion

"Re: Asynchronous results from executing a deployment plan"

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

--------------------------------------------------------------
We have flexibility in what we tell the user. We just need to come up with something that's meaningful and useful.  See the  https://community.jboss.org/thread/154922?tstart=0 Deployment API thread for some of the things people are looking for. Some of it is pretty rich and detailed. So part of what I'm trying to work toward here is how to lay the foundation for supporting that.

For detailed, intelligent reporting on what's happened with a deployment, for sure some sort of processing based on the type of the deployment is needed. Whether we want to do such detailed, intelligent reporint needs discussion. Part of what I was getting at here though is the DeploymentService seems like a natural place to encapsulate information about a deployment, whatever it may be.

But, ignoring the really rich, detailed reporting cases, what's a reasonable minimum to tell a user?

Simplest is just to report whether the deployment unit passed through the deployment chain without exception and BatchBuilder.install() returned without exception. That's easy enough, since it's all done by one thread. Not sure how useful that is though, since nothing at all is actually started by that thread.

David's concept of tracking the "meat" of the deployment is better, but it's not clear how to implement that. Does that become a deployer responsibility? Deciding the service X is "meat" and somehow registering it with whatever is tracking the overall deployment?

Re: signalAll: oops! thanks for that! The IDE isn't always your friend.
--------------------------------------------------------------

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

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/20100909/d4400781/attachment.html 


More information about the jboss-dev-forums mailing list