<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You can pass in a hint as a url parameter
<a class="moz-txt-link-rfc2396E" href="file:/.../deploy/my.war?redeploy=true">"file:/.../deploy/my.war?redeploy=true"</a> so that the main deployer can
set a flag in the deployment.<br>
<br>
Jean-frederic Clere wrote:
<blockquote cite="mid1158937302.5071.48.camel@localhost" type="cite">
<pre wrap="">On Fri, 2006-09-22 at 16:24 +0200, Sacha Labourey wrote:
</pre>
<blockquote type="cite">
<pre wrap="">What you are looking for is for what happens at line 391-392 here:
<a class="moz-txt-link-freetext" href="http://fisheye.jboss.org/browse/JBoss/jboss-system/src/main/org/jboss/deployment/scanner/URLDeploymentScanner.java?r=1.1">http://fisheye.jboss.org/browse/JBoss/jboss-system/src/main/org/jboss/deployment/scanner/URLDeploymentScanner.java?r=1.1</a>
</pre>
</blockquote>
<pre wrap=""><!---->
The problem is the URLDeploymentScanner uses the interface Deployer to
reach MainDeployer.
It is not possible to add a redeploy method to Deployer because that
would break the interface (may be customer have their own Deployer).
The undeploy method in Deployer is:
void undeploy(URL url) throws DeploymentException;
The information must be stored somewhere.
Any hints?
Cheers
Jean-Frederic
</pre>
</blockquote>
</body>
</html>