[jboss-user] [JBoss Microcontainer] - AbstractRealDeployerWithInput fails to call undeploy() on deployer, for failed deployments

Ales Justin do-not-reply at jboss.com
Fri Jul 30 12:02:48 EDT 2010


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/555221#555221

--------------------------------------------------------------
> That would effectively mean, that *every* implementation of the org.jboss.deployers.spi.deployer.helpers.DeploymentVisitor interface, has to have the following code in their deploy:
> 
No, why?

See existing impl, none has that.
Either they don't have anything, since the deploy action is very simple (almost atomic  :) ),
or they have some other additional undeploy logic; e.g. remove added components.

The idea is that the visitor's deploy is very simple, or you missused the deployer.

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

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100730/e8185a95/attachment.html 


More information about the jboss-user mailing list