Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion

"AbstractRealDeployerWithInput fails to call undeploy() on deployer, for failed 
deployments"

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

--------------------------------------------------------------
> You need not know that logic  :)  All that I expect is a undeploy() call on 
> my visitor which failed during deploy. And my visitor's undeploy() will have 
> the knowledge of revert-doMyWork();
At the end it all depends on impl details; e.g. at which step is the deployment 
used enough so you can do proper revert
Our code assumes the least logic possible, meaning if the error occurred, you 
didn't do much, hence no need to actually do undeploy.
But you can simply "fix" this generic behavior by impling this logic into your 
custom visitor.

--------------------------------------------------------------

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

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to