jaikiran pai [
http://community.jboss.org/people/jaikiran] replied to the discussion
"AbstractRealDeployerWithInput fails to call undeploy() on deployer, for failed
deployments"
To view the discussion, visit:
http://community.jboss.org/message/555219#555219
--------------------------------------------------------------
Ales Justin wrote:But you can simply "fix" this generic
behavior by impling this logic into your custom visitor.
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:
deploy(DeploymentUnit unit, T deployment) throws DeploymentException;
{
try
{
...
}
catch (Throwable t)
{
this.undeploy(unit, deployment);
...
}
}
undeploy(DeploymentUnit unit, T deployment)
{
...
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/555219#555219]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]